@polymathnetwork/hashicorp-vault-signing-manager
v1.3.0
Published
Polymesh SDK (v14+) compatible signing manager that interacts with a Hashicorp Vault for signing.
Downloads
15
Keywords
Readme
hashicorp-vault-signing-manager
Polymesh SDK (v14+) compatible signing manager that interacts with a Hashicorp Vault for signing.
This library was generated with Nx.
Usage
import { HashicorpVaultSigningManager } from '@polymathnetwork/hashicorp-vault-signing-manager';
import { Polymesh } from '@polymathnetwork/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 sdk = await Polymesh.connect({
nodeUrl,
signingManager,
});