Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@pocket-tools/lambda-secrets

Package Overview
Dependencies
Maintainers
0
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pocket-tools/lambda-secrets

Utilities for accessing lambda secrets from the lambda secret layer

  • 1.4.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
16
decreased by-88.41%
Maintainers
0
Weekly downloads
 
Created
Source

Lambda Secrets

This package is used to obtain a secret or parameter from the Lambda Layer cache when enabled.

Secrets Manaager Usage

import {fetchSecret} from '@pocket-tools/lambda-secrets';
const secret = fetchSecret('/Lambda/Super/Secret');

This also assumes that the secret stored in Secrets Manager is a JSON based value, which it almost always is.

Parameter Store Usage

import {fetchParameter} from '@pocket-tools/lambda-secrets';
const parameter = fetchParameter('/Lambda/Super/SecretParameter');

Keywords

FAQs

Package last updated on 20 Nov 2024

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc