Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@silver886/aws-secrets-manager

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@silver886/aws-secrets-manager

Helpers for AWS Secrets Manager SDK

latest
Source
npmnpm
Version
0.2.8
Version published
Maintainers
1
Created
Source

AWS Secrets Manager

Rotation

This package has helpers for AWS Secrets Manager SDK which makes rotating secrets from Lambda easier.

Usage

  • Initial a rotation cycle with event given by AWS Secrets Manager in Lambda handler.
  • Call each steps with its methods.

Steps

  • createSecret stores the new secret to AWS Secrets Manager.
  • setSecret retrieves the new secret from AWS Secrets Manager for setting it in the external service.
  • testSecret retrieves the new secret from AWS Secrets Manager for testing it in the external service.
  • finishSecret set the current version to the new secret in AWS Secrets Manager.
  • revokePreviousSecret retrieves the new secret from AWS Secrets Manager for revoking it in the external service. (Optional, needs be called right after finishSecret)

Keywords

aws

FAQs

Package last updated on 31 Dec 2021

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