Serverless Crypt Plugin
A Serverless plugin to easily add CloudWatch alarms to functions
npm i serverless-plugin-crypt
sls crypt encrypt -v your_secret_text
sls crypt decrypt -v your_cipher_text
service: your-service
provider:
name: aws
custom:
crypt:
aws:
kmsKeyId: YOUR_KMS_KEY_ID
plugins:
- serverless-plugin-crypt
functions:
foo:
handler: foo.handler
environment:
YOUR_ENV_VAR: some-cipher-text
MIT © A Cloud Guru