[deploy-opentofu] bw unlock correction

This commit is contained in:
2025-09-08 14:46:55 +00:00
parent 2264ff0488
commit 1b1b393991

View File

@ -128,12 +128,13 @@ jobs:
bw config server https://vaultwarden.fenix-dev.com
#BW_SESSION=$(bw login)
bw login --apikey
BW_SESSION=$(bw unlock)
BW_SESSION=$(bw unlock "$BW_PASSWORD" --raw)
echo "$BW_SESSION"
- name: vaultwarden getsecrets
working-directory: infra/iac
run: |
echo "$BW_SESSION"
# Ler o arquivo de referência
for secret in $(jq -c '.secrets[]' secrets/vault-secrets-map.json); do
name=$(echo "$secret" | jq -r '.name')