add native

This commit is contained in:
Vassiliy Yegorov
2022-08-24 13:03:57 +07:00
parent aaf998fa3c
commit e78851eba6

View File

@@ -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