fix
This commit is contained in:
@@ -9,14 +9,16 @@ read_secrets:
|
||||
- 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
|
||||
|
||||
## GitLab Premium supports read access to a HashiCorp Vault, and enables you to use Vault secrets in a CI job.
|
||||
# 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