Does serverless support encrypting environment variables with a KMS CMK?

Hello All,

I have a question regarding serverless framework with AWS lambda.

In the console, when creating a lambda, you can choose to encrypt a lambda function’s environment variables with a specific KMS key, rather than the default region key.

Is this supported using the severless framework? I cant see any property for it in the serverless.yaml guide - but that doesnt mean it isnt there lol.

Thanks for any help in advance.

Kind Regards,
Matt Dendle

1 Like

Bump!

As per AWS documentation - Using AWS Lambda environment variables - AWS Lambda

This is such a nightmare to manage secrets in a secure, efficient and simple way at the moment with serverless.