
Security News
Open Source CAI Framework Handles Pen Testing Tasks up to 3,600× Faster Than Humans
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.
serverless-plugin-kmsvariables
Advanced tools
This Plugin adds KMS Support to the Variables of Serverless.
Note: This plugin supports Serverless 0.5.*
cd projectfolder
npm install serverless-plugin-kmsvariables
"custom": {
"kmsVariables": {
"key_arn": "arn:aws:kms:<region>:<accountid>:key/<keyid>"
}
},
"plugins": [
"serverless-plugin-kmsvariables"
]
serverless variables set -s <stage> -r <region> -t <type> -k <key> -v <value>
Output:
$ serverless variables set -s dev -r us-east-1 -t region -k plaintextVariable -v foo
Serverless: Not encrypting variable
Serverless: Successfully set variable: plaintextVariable
Command:
serverless variables set -s <stage> -r <region> -t <type> -k <key> -v <value> -e
Ouput:
$ serverless variables set -s dev -r us-east-1 -t region -k myPassword -v mySuperSecret -e
Serverless: Calling AWS KMS to encrypt variable
Serverless: Successfully set variable: myPassword
serverless variables list -s <stage> -r <region>
Output:
Serverless: common:
Serverless: project = ceng-lambda-nsox
Serverless: dev:
Serverless: stage = dev
Serverless: foo-stage = bar1
Serverless: us-east-1:
Serverless: region = us-east-1
Serverless: resourcesStackName = example
Serverless: iamRoleArnLambda = arn:aws:iam::<accountid>:role/<rolename>
Serverless: plaintextVariable = foo
Serverless: myPassword = *******
serverless variables list -s <stage> -r <region> -d
Output:
Serverless: common:
Serverless: project = ceng-lambda-nsox
Serverless: dev:
Serverless: stage = dev
Serverless: foo-stage = bar1
Serverless: us-east-1:
Serverless: region = us-east-1
Serverless: resourcesStackName = example
Serverless: iamRoleArnLambda = arn:aws:iam::<accountid>:role/<rolename>
Serverless: plaintextVariable = foo
Serverless: myPassword = mySuperSecret
FAQs
Serverless Plugin to use KMS for variables
We found that serverless-plugin-kmsvariables demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.
Security News
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.
Security News
CVEForecast.org uses machine learning to project a record-breaking surge in vulnerability disclosures in 2025.