@hiero-did-sdk/signer-hashicorp-vault
v0.1.7
Published
This package provides a way to create a `Signer` class that allows HashiCorp Vault to be used for secure key management and digital signature generation for Decentralized Identifiers (DIDs) using the ED25519 algorithm.
Readme
@hiero-did-sdk/signer-hashicorp-vault
This package provides a way to create a Signer class that allows HashiCorp Vault to be used for secure key management and digital signature generation for Decentralized Identifiers (DIDs) using the ED25519 algorithm.
Features
- Key Management: Create new Ed25519 keys or use existing ones stored in HashiCorp Vault for flexible key handling.
- Signing and Verification: Sign DID operations securely using Vault-managed Ed25519 keys.
- Authentication: Supports authentication via Vault tokens, user/password, and AppRole for secure access.
- Security: Keeps private keys inside Vault, ensuring strong protection and controlled access.
- Vault Integration: Seamlessly interacts with HashiCorp Vault for key storage, retrieval, and signing operations.
Installation
Install the package via npm:
npm install @hiero-did-sdk/signer-hashicorp-vaultUsage
Learn how to use the Signer and VaultSignerFactory class to sign messages, and verify signatures in the Vault Signer Guide.
API Reference
Learn more in the Signer API Reference and VaultSignerFactory API Reference.
Running Tests
Unit tests are included to validate functionality. Run tests with:
npm testLicense
This project is licensed under the Apache License 2.0. See the LICENSE file for details.
References
- Hiero DID SDK - The official repository for the Hiero DID SDK, containing the complete source code and documentation.
- Hedera JavaScript SDK - The official Hedera JavaScript SDK, used for interacting with the Hedera network.
