From 6cd1403a4c895a17f88039019e54daa96e460105 Mon Sep 17 00:00:00 2001 From: SylvainJuge <763082+SylvainJuge@users.noreply.github.com> Date: Tue, 12 Dec 2023 10:26:08 +0100 Subject: [PATCH] [ci] fix vault credentials (#66) --- .buildkite/hooks/prepare-release.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.buildkite/hooks/prepare-release.sh b/.buildkite/hooks/prepare-release.sh index cece9201..01ff7486 100755 --- a/.buildkite/hooks/prepare-release.sh +++ b/.buildkite/hooks/prepare-release.sh @@ -2,13 +2,13 @@ set -euo pipefail echo "--- Prepare vault context :vault:" -VAULT_ROLE_ID_SECRET=$(vault read -field=role-id secret/ci/elastic-apm-agent-java/internal-ci-approle) +VAULT_ROLE_ID_SECRET=$(vault read -field=role-id secret/ci/elastic-elastic-otel-java/internal-ci-approle) export VAULT_ROLE_ID_SECRET -VAULT_SECRET_ID_SECRET=$(vault read -field=secret-id secret/ci/elastic-apm-agent-java/internal-ci-approle) +VAULT_SECRET_ID_SECRET=$(vault read -field=secret-id secret/ci/elastic-elastic-otel-java/internal-ci-approle) export VAULT_SECRET_ID_SECRET -VAULT_ADDR=$(vault read -field=vault-url secret/ci/elastic-apm-agent-java/internal-ci-approle) +VAULT_ADDR=$(vault read -field=vault-url secret/ci/elastic-elastic-otel-java/internal-ci-approle) export VAULT_ADDR # Delete the vault specific accessing the ci vault