I'm using the 1.0.0-beta.2 version of Serverless to write a single Lambda function that uses the Twitter API. To use Twitter's API, I need to give my Lambda function some sensitive secrets. I'm wondering what the best way to give these secrets to my function is at the moment, since the beta doesn't seem to support this out of the box.
secrets.json file which is
require()d into my function. But this still leads to my secrets being part of the source code.
Any better way?