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.…