0

I have an alexa skill developed where I am connecting to a DB. I don't want the User name and password to be visible in my code. I tried to fetch them via properties file in java project, however it works locally but does not work when I deploy my alexa skill as a JAR file in AWS console. Please help me here.

Pushkar
  • 1
  • 2
  • I think you should be using Environment Variables instead for this. https://docs.aws.amazon.com/lambda/latest/dg/tutorial-env_console.html and https://stackoverflow.com/questions/41094954/accessing-aws-lambda-environment-variables-in-java-code may help. – Amit Jun 04 '18 at 15:21
  • Thanks Amit, this worked. I should have known this simple and useful feature earlier. Thanks again :) – Pushkar Jun 05 '18 at 08:57

0 Answers0