Repository navigation
Conversation
Emissary injects VAULT_ADDR in CI; setting it globally bypasses Emissary and drops the vault token, breaking auth. Also corrects stale comment in create_key: key is stored in Vault at kv/k8s/gitlab-runner/java-reggie/signing, not AWS SSM. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Removes the global
VAULT_ADDRvariable from.gitlab-ci.ymland replaces it with an explanatory comment.Also corrects a stale comment on the
create_keyjob that still referenced AWS SSM.Motivation
The CI secrets documentation explicitly warns:
The global
VAULT_ADDR: "https://vault.us1.ddbuild.io"was bypassing Emissary and would prevent thevault kv getcalls inpublish_snapshotandpublish_to_maven_centralfrom authenticating.Companion to DataDog/vault-config#9548 (admin Vault policy for java-reggie CI secrets).
Related Issue(s)
DataDog/vault-config#9548
Change Type
Checklist
./gradlew build)Performance Impact
N/A
Additional Notes
The
update-maven-central-secrets.shlocal script is unaffected — it uses${VAULT_ADDR:-https://vault.us1.ddbuild.io}with a safe fallback that does not override a pre-existing value.🤖 Generated with Claude Code