Menu

GitHub OIDC to AWS and Azure: no more static cloud keys
📰

GitHub OIDC to AWS and Azure: no more static cloud keys

DEV Community: aws·tomipnh·about 18 hours ago
#eMeySrld
#devtoaws#devto#dev#repo#token
Long article (1389 words) — no AI summary yet.
Reading 0:00
15s threshold

PROBLEM

Before OIDC federation, every deploy workflow carried long-lived cloud credentials. On AWS it was an access key pair stored in an Actions secret; on Azure a client secret in an app registration. Both had the same two problems:

They never expire unless you make them expire, and nobody rotates secrets that haven't caused an incident yet.

The credential is scope-free at the point of use. Whatever the key can do, any workflow in the repository can do, on any branch, forever.

In a software house building medical software, this also shows up in audits: "who could have touched production with this credential, and when?" A static key in a GitHub secret has an answer nobody likes - "any workflow in the repo, since we created it, and we don't log that."

So the goal: no static cloud credentials in CI at all.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.