Skip to content

hcpVaultSecret key [application-name [project-id [organization-id]]]

hcpVaultSecret returns the plaintext secret from HCP Vault Secrets using vlt secrets get --plaintext.

If any of application-name, project-id, or organization-id are empty or omitted, then chezmoi will use the value from the hcpVaultSecret.applicationName, hcpVaultSecret.projectId, and hcpVaultSecret.organizationId config variables if they are set and not empty.

Example

{{ hcpVaultSecret "username" }}