f7d8d No.1332
most teams still store long-lived access keys in their ci/cd secrets for amazon web services. but there's a better approach! let's dive into why using iam roles instead of stored credentials is awesome.
role assumption beats storing creds-
approach: use oidc + role assuming
-
risk rotation & auditability : much lower and automatic compared to manual, expiring access keys in ci secrets
access key ⚫️ high (never expires) ❌manual pooroidc+role assumption ✅ low(per-job token) ✔automatic full
found this here:
https://dev.to/yash_step2dev/iam-role-assumption-across-aws-accounts-the-right-way-with-working-terraform-3kpe