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