Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
serverless-plugin-kmsvariables
Advanced tools
Readme
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
The npm package serverless-plugin-kmsvariables receives a total of 0 weekly downloads. As such, serverless-plugin-kmsvariables popularity was classified as not popular.
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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.