Skip to content

PolymeshAssociation/hashicorp-vault-signing-manager

Repository files navigation

js-semistandard-style semantic-release

hashicorp vault signing manager

Polymesh SDK compatible signing manager that interacts with a Hashicorp Vault transit engine for signing transactions.

Usage

import { HashicorpVaultSigningManager } from '@polymeshassociation/hashicorp-vault-signing-manager';
import { Polymesh } from '@polymeshassociation/polymesh-sdk';

// setup
const signingManager = new HashicorpVaultSigningManager({
  // URL of the Vault's transit engine
  url: 'https://my-hosted-vault.io/v1/transit',
  // authentication token
  token: 'willNeverTell',
});

const polymesh = await Polymesh.connect({
  nodeUrl,
  signingManager,
});

About

A Polymesh SDK signing manager for storing private keys in Hashicorp vault

Resources

Stars

Watchers

Forks

Packages

No packages published