Skip to content

CI: authenticate integration tests via GitHub OIDC + AWS Secrets Manager#545

Merged
AndreyVMarkelov merged 1 commit into
mainfrom
ci/oidc-aws-secrets-manager
Jul 15, 2026
Merged

CI: authenticate integration tests via GitHub OIDC + AWS Secrets Manager#545
AndreyVMarkelov merged 1 commit into
mainfrom
ci/oidc-aws-secrets-manager

Conversation

@AndreyVMarkelov

@AndreyVMarkelov AndreyVMarkelov commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

Summary

Migrate CI credential handling to GitHub OIDC → AWS IAM role → AWS Secrets Manager, mirroring dropbox-sdk-dotnet. Removes reliance on long-lived GitHub secrets for Dropbox app credentials and the Codecov token.

@codecov

codecov Bot commented Jul 15, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 65.19%. Comparing base (eee36cb) to head (b57b851).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #545   +/-   ##
=======================================
  Coverage   65.19%   65.19%           
=======================================
  Files          34       34           
  Lines       65205    65205           
  Branches     4642     4642           
=======================================
  Hits        42508    42508           
  Misses      22536    22536           
  Partials      161      161           
Flag Coverage Δ
integration 65.04% <ø> (ø)
unit 64.80% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@AndreyVMarkelov
AndreyVMarkelov force-pushed the ci/oidc-aws-secrets-manager branch 5 times, most recently from b3ff5b9 to 9317cee Compare July 15, 2026 22:39
Migrate CI credential handling to GitHub OIDC + AWS Secrets Manager, mirroring dropbox-sdk-dotnet: credential-consuming jobs assume an AWS IAM role and fetch the api-sdk-integration-test-creds and codecov-token secrets, replacing long-lived GitHub secrets. Credential-gated jobs are skipped on fork PRs, which cannot assume the role.

Also stop injecting the unused legacy user token and authenticate the team integration fixture with a refresh token instead of a static token.
@AndreyVMarkelov
AndreyVMarkelov force-pushed the ci/oidc-aws-secrets-manager branch from 9317cee to b57b851 Compare July 15, 2026 22:42
@AndreyVMarkelov
AndreyVMarkelov merged commit 0ab9517 into main Jul 15, 2026
32 checks passed
@AndreyVMarkelov
AndreyVMarkelov deleted the ci/oidc-aws-secrets-manager branch July 15, 2026 22:57
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