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
45df5946
Commit
45df5946
authored
Feb 17, 2021
by
Amy Qualls
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'msj-jwt-docs' into 'master'
Add docs for JWT token See merge request gitlab-org/gitlab!54465
parents
f0d1e8a3
9ad271d8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
doc/ci/examples/authenticating-with-hashicorp-vault/index.md
doc/ci/examples/authenticating-with-hashicorp-vault/index.md
+5
-1
No files found.
doc/ci/examples/authenticating-with-hashicorp-vault/index.md
View file @
45df5946
...
...
@@ -7,6 +7,8 @@ type: tutorial
# Authenticating and Reading Secrets With HashiCorp Vault
> HashiCorp Vault JWT token support [introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/294440) in GitLab 13.9.
This tutorial demonstrates how to authenticate, configure, and read secrets with HashiCorp's Vault from GitLab CI/CD.
NOTE:
...
...
@@ -53,7 +55,9 @@ The JWT's payload looks like this:
"job_id"
:
"1212"
,
#
"ref"
:
"auto-deploy-2020-04-01"
,
#
Git
ref
for
this
job
"ref_type"
:
"branch"
,
#
Git
ref
type
,
branch
or
tag
"ref_protected"
:
"true"
#
true
if
this
git
ref
is
protected
,
false
otherwise
"ref_protected"
:
"true"
,
#
true
if
this
git
ref
is
protected
,
false
otherwise
"environment"
:
"production"
,
#
Environment
this
job
deploys
to
,
if
present
"environment_protected"
:
"true"
#
true
if
deployed
environment
is
protected
,
false
otherwise
}
```
...
...
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