Commit ec469871 authored by Marcia Ramos's avatar Marcia Ramos

Merge branch 'calebw-master-patch-93973' into 'master'

Add note mentioning VAULT_NAMESPACE variable to vault docs

See merge request gitlab-org/gitlab!62483
parents dd39fe1a 8eaffa84
......@@ -203,6 +203,10 @@ read_secrets:
- export PASSWORD="$(vault kv get -field=password secret/myproject/production/db)"
```
NOTE:
If you're using a Vault instance provided by HashiCorp Cloud Platform,
you need to export the `VAULT_NAMESPACE` variable. Its default value is `admin`.
![read_secrets staging](img/vault-read-secrets-staging.png)
The following job is able to authenticate using the `myproject-production` role and read secrets under `/secret/myproject/production/`:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment