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.
aws-parameter-cache
Advanced tools
Readme
Parameter cache for AWS System Manager Parameter Store and AWS Secrets Manager
npm install aws-parameter-cache @aws-sdk/client-ssm @aws-sdk/client-secrets-manager
import { ssmParameter } from 'aws-parameter-cache';
const param = ssmParameter({ name: 'foo' });
const value = await param.value;
// https://docs.aws.amazon.com/systems-manager/latest/userguide/integration-ps-secretsmanager.html
import { secretsManagerParameter } from 'aws-parameter-cache';
const param = secretsManagerParameter({ name: 'foo' });
const value = await param.value;
import { secretsManagerSecret } from 'aws-parameter-cache';
const secret = secretsManagerSecret({ secretId: 'foo' });
const secretString = await secret.secretString;
const param = ssmParameter({ name: 'foo', maxAge: 1000 * 60 * 5 });
const value = await param.value;
const param = ssmParameter({ name: 'foo' });
const value = await param.value;
param.refresh();
const newValue = await param.value;
const param = ssmParameter({ name: 'fooList' }); // XXX,YYY,ZZZ
const valueArray = await param.value; // ['XXX','YYY','ZZZ']
valueArray.forEach(console.log)
const param = ssmParameter({ name: 'name' });
export const handler = async (event, context) => {
const value = await param.value
return `Hello ${value}`
}
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"ssm:GetParameter"
],
"Resource": "arn:aws:ssm:<REGION>:<ACCOUNT_ID>:parameter/<PARAMETER_NAME>"
},
{
"Effect": "Allow",
"Action": [
"kms:Decrypt"
],
"Resource": "arn:aws:kms:<REGION>:<ACCOUNT_ID>:alias/aws/ssm"
}
]
}
FAQs
Parameter cache for AWS System Manager Parameter Store and AWS Secrets Manager
The npm package aws-parameter-cache receives a total of 5,663 weekly downloads. As such, aws-parameter-cache popularity was classified as popular.
We found that aws-parameter-cache 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.