Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 677 Bytes

File metadata and controls

27 lines (20 loc) · 677 Bytes

hashicorp-vault-signing-manager

Polymesh SDK (v14+) compatible signing manager that interacts with a Hashicorp Vault for signing.

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,
});

Info

This library was generated with Nx.