feat(ci): use OIDC role for maven publish DEVOPS-1455#1059
Open
ShahzebMahmood wants to merge 1 commit into
Open
feat(ci): use OIDC role for maven publish DEVOPS-1455#1059ShahzebMahmood wants to merge 1 commit into
ShahzebMahmood wants to merge 1 commit into
Conversation
Contributor
Author
|
Claude finished @ShahzebMahmood's task —— View job Code Review: OIDC Maven Publishing Migration ✅Todo List:
Review SummaryThis PR successfully migrates Maven publishing from static AWS credentials to OIDC role assumption. The implementation is secure and well-designed. ✅ StrengthsSecurity Improvements:
Implementation Quality:
✅ Configuration AnalysisOIDC Setup (.github/workflows/build.yml:124-130): - name: Configure AWS credentials for maven publish
if: "steps.detect-release.outputs.is_release == 'true'"
uses: aws-actions/configure-aws-credentials@acca2b1b2070338fb9fd1ca27ecee81d687e58e5
with:
aws-region: eu-west-1
role-to-assume: arn:aws:iam::195996028523:role/WaveMavenPublisherRole
role-session-name: GitHubActions-${{ github.run_id }}-maven-publish
✅ Backward Compatibility
✅ Security VerificationThe role configuration (per PR description) provides excellent security boundaries:
Minor Observations
Recommendation✅ APPROVE - This PR implements OIDC authentication correctly with proper security controls and maintains backward compatibility. The migration is well-scoped and reduces the attack surface by eliminating static credentials for Maven publishing. |
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.
Summary
build.yml's Release step from staticTOWER_CI_AWS_*keys to OIDC role assumption.arn:aws:iam::195996028523:role/WaveMavenPublisherRole(created in seqeralabs/infrastructure#1549, already applied). Role is scoped tightly tos3://maven.seqera.io/releases/*and trusts onlyseqeralabs/wave:ref:refs/heads/master.unset AWS_SESSION_TOKENhack (no longer needed — session token is now intentional and matches the role's region).AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEYenv vars from the Release step.The
TOWER_CI_AWS_*GHA secrets stay in place for now — they're still used by the Tests step (make check) and the legacy ECR docker login. Those are separate consumers and out of scope.DEVOPS-1455