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.
2
-
I think you should be using Environment Variables instead for this. docs.aws.amazon.com/lambda/latest/dg/tutorial-env_console.html and stackoverflow.com/questions/41094954/… may help.Amit– Amit2018-06-04 15:21:23 +00:00Commented Jun 4, 2018 at 15:21
-
Thanks Amit, this worked. I should have known this simple and useful feature earlier. Thanks again :)Pushkar– Pushkar2018-06-05 08:57:07 +00:00Commented Jun 5, 2018 at 8:57
Add a comment
|