Skip to content

Automation fix - #341

Merged
krystian-panek-vmltech merged 1 commit into
mainfrom
s3-oidc
Nov 26, 2026
Merged

krystian-panek-vmltech merged 1 commit into
mainfrom
s3-oidc

Conversation

@krystian-panek-vmltech

Copy link
Copy Markdown
Collaborator

Summary

  • The Test workflow (on demand and before every release) assumes the AWS role vml-rnd-aem-library-github through GitHub OIDC instead of using the stored keys AWS_ACCESS_KEY_ID / AWS_SECRET_ACCESS_KEY. The role can only read the AEM library bucket and trusts only wttech/acm and wttech/aemc.
  • The role, region and bucket come from the repository variables AWS_ROLE_ARN, AWS_REGION and AWS_S3_BUCKET_NAME, which are already set. If any is missing, the first step fails with a clear message.
  • Release no longer passes AWS secrets to Test. Instead it grants Test the permissions it needs, including id-token: write.

Once this is merged, the repository secrets AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_REGION and AWS_S3_BUCKET_NAME are unused and can be deleted.

Test plan

  • Test, run with workflow_dispatch on this branch, passes

The Test workflow assumes the read-only role named by the repository variables
AWS_ROLE_ARN, AWS_REGION and AWS_S3_BUCKET_NAME instead of using stored AWS
keys, and fails with a clear message when they are missing.
@krystian-panek-vmltech krystian-panek-vmltech changed the title Read AEM distributions from S3 through a GitHub OIDC role Automation fix Nov 26, 2026
@krystian-panek-vmltech
krystian-panek-vmltech merged commit d75a639 into main Nov 26, 2026
6 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant