How to set environment variables in beta?

Hi guys,
I want to set env variables that contains some secret. I don’t want to put them into config files for obvious reasons. Is there a cli command for setting env vars?
Thanks

I have this same need. I have edited serverless.env.yaml to include variables under the stage, but they are not showing up under process.env in my lambda function.

I think that I’m gonna use serverless-secrets for this.

At the moment we don’t include any environment variables or config variables into your lambda. We’re still discussing internally how we want this to be done in a cross language way. Here is the issue discussing this: https://github.com/serverless/serverless/issues/1455