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
b048a884
Commit
b048a884
authored
Feb 24, 2022
by
Marcel Amirault
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'vs4144-master-patch-05105' into 'master'
Update index.md See merge request gitlab-org/gitlab!52890
parents
ed12a4d0
244703b9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
doc/ci/examples/authenticating-with-hashicorp-vault/index.md
doc/ci/examples/authenticating-with-hashicorp-vault/index.md
+4
-4
No files found.
doc/ci/examples/authenticating-with-hashicorp-vault/index.md
View file @
b048a884
...
...
@@ -121,8 +121,8 @@ Then create policies that allow you to read these secrets (one for each secret):
$
vault policy write myproject-staging -
<<
EOF
# Policy name: myproject-staging
#
# Read-only permission on 'secret/
data/
myproject/staging/*' path
path "secret/
data/
myproject/staging/*" {
# Read-only permission on 'secret/myproject/staging/*' path
path "secret/myproject/staging/*" {
capabilities = [ "read" ]
}
EOF
...
...
@@ -131,8 +131,8 @@ Success! Uploaded policy: myproject-staging
$
vault policy write myproject-production -
<<
EOF
# Policy name: myproject-production
#
# Read-only permission on 'secret/
data/
myproject/production/*' path
path "secret/
data/
myproject/production/*" {
# Read-only permission on 'secret/myproject/production/*' path
path "secret/myproject/production/*" {
capabilities = [ "read" ]
}
EOF
...
...
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