Set BitBucket pipeline variables with values from Vault
pip install variable-updater
make docker
# Read bitbucket credentials from vault
export VAULT_BITBUCKET_KEY_MOUNT=secret
export VAULT_BITBUCKET_PASSWORD_KEY=app/variable-updater/bitbucket-password
export VAULT_BITBUCKET_USERNAME_KEY=app/variable-updater/bitbucket-username
# vault settings
export VAULT_USERNAME="variable-updater"
export VAULT_PASSWORD="secret_password"
export VAULT_ADDR="https://vault.example.com"
# config file contains values to read from vault and write to bitbucket..
variable-updater --config config.example.yml
Content type
Image
Digest
Size
36.5 MB
Last updated
almost 7 years ago
docker pull roobert/variable-updater:0.0.16