HashiCorp Vault secrets in CI jobs as variables

From wikieduonline
Revision as of 08:31, 14 March 2021 by Welcome (talk | contribs)
Jump to navigation Jump to search

Use HashiCorp Vault secrets in CI jobs as variables [1] [2]


  • VAULT_SERVER_URL - The URL of your Vault server, such as https://vault.example.com:8200. Required.
  • VAULT_AUTH_ROLE - (Optional) The role to use when attempting to authenticate. If no role is specified, Vault uses the default role specified when the authentication method was configured.
  • VAULT_AUTH_PATH - (Optional) The path where the authentication method is mounted, default is jwt.


See also

  • https://about.gitlab.com/releases/2020/09/22/gitlab-13-4-released/#use-hashicorp-vault-secrets-in-ci-jobs
  • https://docs.gitlab.com/ee/ci/secrets/
  • Advertising: