From 0d83f2f191b775295cd9d90c1ecb0761dffe863b Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Mon, 15 Jan 2024 15:05:11 +0100 Subject: [PATCH] chore: explain that the field name is the one in the vault secret --- .buildkite/hooks/prepare-release.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/.buildkite/hooks/prepare-release.sh b/.buildkite/hooks/prepare-release.sh index b334057c28..e44ba58f46 100644 --- a/.buildkite/hooks/prepare-release.sh +++ b/.buildkite/hooks/prepare-release.sh @@ -22,6 +22,7 @@ export SERVER_PASSWORD # Signing keys GPG_SECRET=kv/data/ci-shared/release-eng/team-release-secrets/apm/gpg vault read -field=key_id $GPG_SECRET >$KEY_FILE +## NOTE: passphase is the name of the field. KEYPASS_SECRET=$(vault read -field=passphase $GPG_SECRET) export KEYPASS_SECRET export KEY_ID_SECRET=D88E42B4