1
0
mirror of https://github.com/bitwarden/server synced 2025-12-25 04:33:26 +00:00

Update deprecated Azure Key Vault in workflows (#2214)

This commit is contained in:
Michał Chęciński
2022-09-29 22:29:58 +02:00
committed by GitHub
parent 53f6ec0a71
commit 13e33cd789
3 changed files with 50 additions and 22 deletions

View File

@@ -38,12 +38,19 @@ jobs:
- name: Retrieve secrets
id: retrieve-secrets
uses: Azure/get-keyvault-secrets@80ccd3fafe5662407cc2e55f202ee34bfff8c403
with:
keyvault: "bitwarden-qa-kv"
secrets: "mssql-server-host,
mssql-admin-login,
mssql-admin-login-password"
env:
KEYVAULT: bitwarden-qa-kv
SECRETS: |
mssql-server-host,
mssql-admin-login,
mssql-admin-login-password
run: |
for i in ${SECRETS//,/ }
do
VALUE=$(az keyvault secret show --vault-name $KEYVAULT --name $i --query value --output tsv)
echo "::add-mask::$VALUE"
echo "::set-output name=$i::$VALUE"
done
- name: Migrate database
env: