Skip to content

Migrate release workflows from PAT secrets to OIDC + Secrets Manager - #4703

Draft
vcjana wants to merge 4 commits into
mainfrom
oidc-pat-migration
Draft

Migrate release workflows from PAT secrets to OIDC + Secrets Manager#4703
vcjana wants to merge 4 commits into
mainfrom
oidc-pat-migration

Conversation

@vcjana

@vcjana vcjana commented Jun 15, 2026

Copy link
Copy Markdown
Collaborator

Migrates release/automation workflows from using GitHub repo secrets (RELEASE_AUTOMATION_BOT_PAT, RELEASE_AUTOMATION_BOT_CRATESIO_TOKEN) to fetching the credentials at runtime from AWS Secrets Manager via OIDC role assumption.

Depends on a separate change that creates the IAM role and adds SMITHY_RS_RELEASE_OPS_ROLE_ARN as a GitHub repo secret. DO NOT MERGE until that has deployed.

@github-actions

Copy link
Copy Markdown

A new generated diff is ready to view.

  • No codegen difference in the AWS SDK
  • No codegen difference in the Client Test
  • No codegen difference in the Server Test
  • No codegen difference in the Server Test Python
  • No codegen difference in the Server Test Typescript

A new doc preview is ready to view.

@vcjana
vcjana marked this pull request as ready for review June 16, 2026 20:56
@vcjana
vcjana requested review from a team as code owners June 16, 2026 20:56

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 for removing this workflow now that this PR edits it. The work used to exist to test out rust code in aws-doc-sdk-examples using not-yet-released codegen changes in smithy-rs (the work updates the next branch in aws-sdk-rust but that branch hasn't been updated for the last two years).

It was more useful in the days AWS SDKs were pre-GA, causing more breaking changes for examples. Since they've become GA, there hasn't been much value in having next branch as well as this workflow.

@vcjana
vcjana marked this pull request as draft June 19, 2026 16:54
vcjana added 2 commits August 4, 2026 16:19
#4745 deleted the GitHub-Actions release suite (release/prod-release/dry-run{,-scheduled}/backport and create-release.js) now that Catapult owns smithy-rs releases. Our branch had migrated those same files to OIDC, so accept the deletions -- migrating removed files is dead work. The migration is kept only on the six non-release workflows that survive on main and still authenticated via RELEASE_AUTOMATION_BOT_PAT: claim-crate-names, credentials-verification, update-sdk-next, and the three lockfile-update workflows.
@github-actions

github-actions Bot commented Aug 5, 2026

Copy link
Copy Markdown

A new generated diff is ready to view.

  • No codegen difference in the AWS SDK
  • No codegen difference in the Client Test
  • No codegen difference in the Server Test
  • No codegen difference in the Server Test Python
  • No codegen difference in the Server Test Typescript

A new doc preview is ready to view.

@github-actions

github-actions Bot commented Aug 6, 2026

Copy link
Copy Markdown

A new generated diff is ready to view.

  • No codegen difference in the AWS SDK
  • No codegen difference in the Client Test
  • No codegen difference in the Server Test
  • No codegen difference in the Server Test Python
  • No codegen difference in the Server Test Typescript

A new doc preview is ready to view.

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.

2 participants