Commit 45df5946 authored by Amy Qualls's avatar Amy Qualls

Merge branch 'msj-jwt-docs' into 'master'

Add docs for JWT token

See merge request gitlab-org/gitlab!54465
parents f0d1e8a3 9ad271d8
......@@ -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
}
```
......
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