A Pulumi package for creating and managing HashiCorp Vault cloud resources.
Project description
Hashicorp 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 theVAULT_CACERTenvironment variable.vault:ca_cert_dir- (Optional) Path to a directory on local disk that contains one or more certificate files that will be used to validate the certificate presented by the Vault server. May be set via theVAULT_CAPATHenvironment variable.vault:client_auth- (Optional) A configuration block, described below, that provides credentials used by the provider to authenticate with the Vault server. At present there is little reason to set this, because the provider does not support the TLS certificate authentication mechanism.vault:cert_file- (Required) Path to a file on local disk that contains the PEM-encoded certificate to present to the server.vault:key_file- (Required) Path to a file on local disk that contains the PEM-encoded private key for which the authentication certificate was issued.
vault:skip_tls_verify- (Optional) Set this to true to disable verification of the Vault server's TLS certificate. This is strongly discouraged except in prototype or development environments, since it exposes the possibility that the provider can be tricked into writing secrets to a server controlled by an intruder. May be set via theVAULT_SKIP_VERIFYenvironment variable.vault:max_lease_ttl_seconds- (Optional) Used as the duration for the intermediate Vault token the provider issues itself, which in turn limits the duration of secret leases issued by Vault. Defaults to20minutes and may be set via theTERRAFORM_VAULT_MAX_TTLenvironment variable. See the section above on Using Vault credentials in the provider configuration for the implications of this setting.vault:max_retries- (Optional) Used as the maximum number of retries when a 5xx error code is encountered. Defaults to2retries and may be set via the VAULT_MAX_RETRIES environment variable.vault:namespace- (Optional) Set the namespace to use. May be set via theVAULT_NAMESPACEenvironment variable. Available only for Vault Enterprise.
Reference
For further information, please visit the Vault provider docs or for detailed reference documentation, please visit the API docs.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pulumi_vault-7.7.0.tar.gz.
File metadata
- Download URL: pulumi_vault-7.7.0.tar.gz
- Upload date:
- Size: 644.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9247796f53195565f954c6ab8793f9b7b1313ec9ad3539411230a5dc3cf7919b
|
|
| MD5 |
feed05cca03aec0a0284c7915750e052
|
|
| BLAKE2b-256 |
7947e0e70ea5331a3754b270698ffc7f41b4837f163c2fce26f8b0bd9cd3821f
|
File details
Details for the file pulumi_vault-7.7.0-py3-none-any.whl.
File metadata
- Download URL: pulumi_vault-7.7.0-py3-none-any.whl
- Upload date:
- Size: 902.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
41aea2258e3ece4bbbf476b0d6d09cf64dca0ceea52a7719bd823916964f848c
|
|
| MD5 |
1eca38e074323aada7419e8c200144ac
|
|
| BLAKE2b-256 |
1c80f0294cca379793d3246e1d2274de9aeab16d17bc46ed5c112c75d78364e9
|