4 ms·
> In the email they also give guidance on how to secure the account. They do this in four steps: 1. Rotate and delete the exposed AWS Access Key... I work at a
by jrochkind1 4y ago
> In the email they also give guidance on how to secure the account. They do this in four steps: 1. Rotate and delete the exposed AWS Access Key...
I work at a very small shop (at a non-profit institution).
In the past, when we've accidentally leaked a credential, AWS has required us to rotate all of our AWS Access Keys in the account, not just the exposed one.
Which I know ideally rotation would be easy/automated and this wouldn't matter, but at the time it was disruptive for us. And a bit frustrating when we had intentionally created separate AWS credentials with least privs needed for the service, etc. But thinking on it, I guess any given credential might give permissions to create other credentials or other devious things, rotating all of them might be necessary to be safe.
It's been a couple years since we had a leaked credential now (hooray). I wonder if the policy has changed, or if I misunderstood, or if in fact you still need to rotate all credentials in the account, maybe OP just only had one credential in the account they were intentionally doing insecure things so the compromised key was in fact all keys. (I don't specifically remember the `AWSCompromisedKeyQuarantineV2` policy, but probably am just not remembering it, I had other things to worry about at the times!)
- Hikikomori 4y agoCan also avoid having any static credentials at all if possible.
- GauntletWizard 4y agoThis used to not be possible. AWS only added support for OIDC Credentials in 2014, which is 10 years ago but well after AWS launched. Convenient support in client libraries was only added in 2019[1][2]. [1] https://docs.aws.amazon.com/eks/latest/userguide/iam-roles-for-service-accounts-minimum-sdk.html https://docs.aws.amazon.com/eks/latest/userguide/iam-roles-f... [2] https://github.com/aws/aws-cli/releases/tag/1.16.232 https://github.com/aws/aws-cli/releases/tag/1.16.232