Skip to content

Commit

Permalink
[ci] fix vault credentials (#66)
Browse files Browse the repository at this point in the history
  • Loading branch information
SylvainJuge authored Dec 12, 2023
1 parent 303c447 commit 6cd1403
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .buildkite/hooks/prepare-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6cd1403

Please sign in to comment.