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

@constellation-labs/key-manager

Package Overview
Dependencies
Maintainers
3
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@constellation-labs/key-manager

[Constellation] Keys and secrets management

  • 0.9.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
3
Created
Source

@constellation-labs/key-manager

KMS Signer

Implementation taken from: https://github.com/rjchow/ethers-aws-kms-signer. Reimplemented for security reasons.

Design

Usage

import { storeSecret } from '@constellation-labs/key-manager'
import { SecretsManagerClient } from '@aws-sdk/client-secrets-manager'

const client: SecretsManagerClient = new SecretsManagerClient({})
const secretId = "define-your-secretId"
const secret = {
  L1_FEE_WALLET_PRIVATE_KEY: '0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80',
  FAUCET_KEY: '0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80'
}

const func = async () => {
  console.log(await storeSecret(client, secretId, secret))
}

func()

Keywords

FAQs

Package last updated on 21 Jul 2023

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