
Company News
Socket Named Top Sales Organization by RepVue
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.
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.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.