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-offline-secrets-manager-simulator
Advanced tools
Readme
This plugin exposes a secrets manager compatible API on a configurable port whenever Serverless Offline is started. Secrets are stored in-memory and will be lost when the server is stopped
npm install serverless-offline-secrets-manager-simulator
In your serverless.yml:
plugins:
- serverless-offline-secrets-manager-simulator
custom:
secrets-manager-simulator:
port: 8007 # Optional - port to listen on. Defaults to 8007
enableDebugEndpoint: true # Optional. Defaults to true. If false, the /list endpoint will not be available
secretsFile: /tmp/secrets.json # Optional. If specified, the plugin will persist secrets between runs to the specified json file
secrets: # Optional. List of key-value pairs to seed the secret manager with on startup
- key: Secret1
value: I-Am-A-Secret
- key: Secret2
value: I-Am-Another-Secret
Simply send appropriately formatted POST requests to http://127.0.0.1:[PORT]
where PORT is specified in the configuration
(or use the default 8007)
When using the AWS sdk, create your client with a custom endpoint specified:
import { SecretsManagerClient } from "@aws-sdk/client-secrets-manager"
const client = new SecretsManagerClient({ endpoint: "http://127.0.0.1:8007" })
The plugin provides a debug endpoint at /list
which will list all secrets currently contained within the store
FAQs
This plugin exposes a secrets manager compatible API on a configurable port whenever Serverless Offline is started.
The npm package serverless-offline-secrets-manager-simulator receives a total of 87 weekly downloads. As such, serverless-offline-secrets-manager-simulator popularity was classified as not popular.
We found that serverless-offline-secrets-manager-simulator demonstrated a healthy version release cadence and project activity because the last version was released less than 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.