Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Sandbox
vault-test
vault-export-secret
Commits
32fcc9db
Commit
32fcc9db
authored
3 weeks ago
by
Nikulin Arsenii Anatolievich
Browse files
Options
Download
Patches
Plain Diff
Add new file
parent
6d79b0ba
master
No related merge requests found
Pipeline
#3
passed with stage
in 7 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+11
-0
.gitlab-ci.yml
with
11 additions
and
0 deletions
.gitlab-ci.yml
0 → 100644
+
11
−
0
View file @
32fcc9db
test-vault-access
:
image
:
192.168.88.130:8083/vault:1.13.3
tags
:
[
"
nova-160"
]
when
:
manual
script
:
-
export VAULT_ADDR="http://192.168.88.220:8200"
-
export VAULT_TOKEN="$(vault write -field=token auth/devops_backend/login role=sandbox jwt=$CI_JOB_JWT)"
-
export PASSWORD="$(vault kv get -field=test-pass sandbox/test-secret-path)"
-
echo $PASSWORD
rules
:
-
if
:
'
$CI_COMMIT_BRANCH
==
"master"'
This diff is collapsed.
Click to expand it.
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets