Skip to content

HashiCorp Vault

GitHub TagLicenseGit Repository

Provides pipeline environment variables from a HashiCorp Vault KV store.

Currently, only the kv-v2 secrets engine is supported.

If an env key is a path (meaning that it includes at least one /), all but the last segments are used as the secret path and the last segment is used as the secret data key. Otherwise, value is used as the secret data key.

An API token needs to be created in Vault for this plugin. It is recommended to use a token configured with minimal required access.

Settings

Plugin name: hcvault

SettingDescription
ENABLEDEnable the plugin ("true" | "false")
URLVault URL required (string)
TOKENVault API token required (string)
PATHThe path of the secret engine required (string)
PRIORITYPriority of the variables provided by the plugin (default: 1) (number)
NO_SECRETWhether to prevent marking the variables provided by the plugin as secret ("true" | "false")