Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
8eaffa84
Commit
8eaffa84
authored
Jun 07, 2021
by
Caleb Williamson
Committed by
Marcia Ramos
Jun 07, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add note mentioning VAULT_NAMESPACE variable to vault docs
parent
d952ee2e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
doc/ci/examples/authenticating-with-hashicorp-vault/index.md
doc/ci/examples/authenticating-with-hashicorp-vault/index.md
+4
-0
No files found.
doc/ci/examples/authenticating-with-hashicorp-vault/index.md
View file @
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/`
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment