Skip to content

migrate DD credentials to dd-sts#873

Merged
gillarramendi merged 2 commits intomainfrom
gotzon.illarramendi/dd-sts
Apr 7, 2026
Merged

migrate DD credentials to dd-sts#873
gillarramendi merged 2 commits intomainfrom
gotzon.illarramendi/dd-sts

Conversation

@gillarramendi
Copy link
Copy Markdown
Contributor

@gillarramendi gillarramendi commented Apr 7, 2026

What problem are you trying to solve?

  • Migrate credentials creation to dd-sts

@datadog-official

This comment has been minimized.

@gillarramendi gillarramendi marked this pull request as ready for review April 7, 2026 13:56
@gillarramendi gillarramendi requested a review from a team as a code owner April 7, 2026 13:56
Copilot AI review requested due to automatic review settings April 7, 2026 13:56
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR migrates the check-regressions.yml workflow from using static Datadog API credentials (stored as secrets) to using OIDC-based temporary credentials via the dd-sts action. This is a security improvement that aligns with credential rotation best practices.

Changes:

  • Added OIDC token permissions to enable federation with dd-sts action
  • Replaced job-level secret environment variables with step-level variables sourced from the dd-sts action
  • Introduced a new "Get Datadog credentials" step that uses the DataDog/dd-sts-action to acquire temporary credentials
  • Scoped credentials to only the steps that require them (the two "Obtain results" steps)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@gillarramendi gillarramendi merged commit 2fe1f51 into main Apr 7, 2026
94 of 130 checks passed
@gillarramendi gillarramendi deleted the gotzon.illarramendi/dd-sts branch April 7, 2026 14:36
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.

3 participants