This commit is contained in:
Vassiliy Yegorov
2022-08-24 13:06:22 +07:00
parent e78851eba6
commit a7c637fcac

View File

@@ -9,14 +9,16 @@ read_secrets:
- echo $PASSWORD - echo $PASSWORD
when: manual when: manual
read_secrets_native:
variables: ## GitLab Premium supports read access to a HashiCorp Vault, and enables you to use Vault secrets in a CI job.
VAULT_ADDR: http://vault.bildme.ru # read_secrets_native:
VAULT_AUTH_ROLE: gitlabci-role # variables:
secrets: # VAULT_ADDR: http://vault.bildme.ru
PASSWORD: # VAULT_AUTH_ROLE: gitlabci-role
vault: secret/gitlab/db1 # secrets:
file: false # PASSWORD:
script: # vault: secret/gitlab/db1
- echo $PASSWORD # file: false
when: manual # script:
# - echo $PASSWORD
# when: manual