I have some code such as this which will run inside of Lambda:
var Parse = require('parse').Parse;
Parse.initialize("Your App Id", "Your JavaScript Key");
var query = new Parse.Query(Parse.User);
query.find({
success: function(users) {
for (var i = 0; i < users.length; ++i) {
console.log(users[i].get('username'));
}
}
});
The code needs an API key to work. Is it safe to just put the key directly into the code or should I store it somewhere else, and if so where? I am concerned if it needs to be stored externally, this will cause overhead as I need to make a network call every time to retrieve it.