A Pulumi package for creating and managing HashiCorp Vault cloud resources.
Actively maintained. Last release 4 days ago, commits in 24 of the last 26 weeks. A safe choice.
pip install pulumi-vaultHashicorp Vault Resource Provider
The Vault resource provider for Pulumi lets you manage Vault resources in your cloud programs. To use this package, please install the Pulumi CLI first.
Installing
This package is available in many languages in the standard packaging formats.
Node.js (Java/TypeScript)
To use from JavaScript or TypeScript in Node.js, install using either npm:
$ npm install @pulumi/vault
or yarn:
$ yarn add @pulumi/vault
Python
To use from Python, install using pip:
$ pip install pulumi_vault
Go
To use from Go, use go get to grab the latest version of the library
$ go get github.com/pulumi/pulumi-vault/sdk/v6
.NET
To use from .NET, install using dotnet add package:
$ dotnet add package Pulumi.Vault
Configuration
The following configuration points are available:
vault:address- (Required) Origin URL of the Vault server. This is a URL with a scheme, a hostname and a port but with no path. May be set via theVAULT_ADDRenvironment variable.vault:token- (Required) Vault token that will be used by the provider to authenticate. May be set via theVAULT_TOKENenvironment variable. If none is otherwise supplied, the provider will attempt to read it from ~/.vault-token (where the vault command stores its current token). The provider will issue itself a new token that is a child of the one given, with a short TTL to limit the exposure of any requested secrets. Note that the given token must have the update capability on theauth/token/createpath in Vault in order to create child tokens.vault:tokenName- (Optional) Token name to use for creating the Vault child token. May be set via theVAULT_TOKEN_NAMEenvironment variable.vault:ca_cert_file- (Optional) Path to a file on local disk that will be used to validate the certificate presented by the Vault server. May be set via the environment variable.