add native
This commit is contained in:
@@ -8,3 +8,15 @@ read_secrets:
|
||||
- export PASSWORD="$(vault kv get -field=password secret/gitlab/db1)"
|
||||
- echo $PASSWORD
|
||||
when: manual
|
||||
|
||||
read_secrets_native:
|
||||
variables:
|
||||
VAULT_ADDR: http://vault.bildme.ru
|
||||
VAULT_AUTH_ROLE: gitlabci-role
|
||||
secrets:
|
||||
PASSWORD:
|
||||
vault: secret/gitlab/db1
|
||||
file: false
|
||||
script:
|
||||
- echo $PASSWORD
|
||||
when: manual
|
||||
|
Reference in New Issue
Block a user