Socket
Book a DemoInstallSign in
Socket

@rollinginfra/secret-store-encrypted

Package Overview
Dependencies
Maintainers
2
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rollinginfra/secret-store-encrypted

Combine an `IStateStore` and an `ISecretEncryption` to securely store encrypted secrets in a standard object store.

latest
npmnpm
Version
1.0.0
Version published
Maintainers
2
Created
Source

Secret Store - Encrypted

Combine an IStateStore and an ISecretEncryption to securely store encrypted secrets in a standard object store.

Usage

import SecretEncryptionGoogleKms from '@rollinginfra/secret-encryption-google-kms';
import SecretStoreEncrypted from '@rollinginfra/secret-store-encrypted';
import StateStoreLocalFileSystem from '@rollinginfra/state-store-local-file-system';

const secrets = new SecretStoreEncrypted({
  store: new StateStoreLocalFileSystem({
    filename: `secrets.json`,
  }),
  encryption: new SecretEncryptionGoogleKms({
    googleProjectID: `YOUR_GOOGLE_PROJECT_NAME`,
    keyRingName: `YOUR_KEY_RING_NAME`,
    keyName: `YOUR_KEY_NAME`,
    location: `YOUR_KEY_RING_LOCATION`,
  }),
});

FAQs

Package last updated on 05 Jul 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