A NestJS module for integrating with HashiCorp Vault. It provides a VaultService for interacting with the Vault API, including authentication, reading, writing, and managing secrets. It supports token-based and Kubernetes authentication methods, along with health checks to ensure Vault connectivity.
Add the package to your workspace:
yarn add @rxap/nest-vault
Install peer dependencies:
yarn add @nestjs/common @nestjs/config @nestjs/terminus node-vault
Execute the init generator:
yarn nx g @rxap/nest-vault:init
Initialize the package in the workspace
nx g @rxap/nest-vault:init