Skip to main content

Vault Secrets Provider

The vault provider uses HashiCorp's self-hosted Vault service. Redwood does not deploy a Vault instance for you.

Configuration

VariableDefault ValueDescription
secrets.vault.endpointhttp://127.0.0.1:8200The URL endpoint of your Vault server
secrets.vault.namespaceThe namespace of your secrets; leave empty if you're not using Vault namespaces
secrets.vault.path-prefixPrefix for secrets (e.g. myproject/)
secrets.vault.kv-enginev2v1 or v2
secrets.vault.engine-namesecretThe name of the KV engine in Vault

In addition to the above non-sensitive configuration, you need to specify the authentication details for Vault. You can do this by setting the VAULT_ROLE_ID and VAULT_SECRET_ID environment variables before running Redwood commands.

Redwood uses the AppRole authentication method. You can see instructions on setting up a new AppRole in the Vault docs.