AWS Access Keys not Created During Account Creation

This policy validates that AWS IAM user accounts do not have access keys that were created during account creation.

If IAM access keys are not being used, they should not exist. Creating access keys at the time of account creation generally leads to outdated access keys being created over time. As a best practice, it is recommended to create account access keys as part of an explicit and separate process from account creation.

Remediation

To remediate this, disable or delete all access keys that were created at account creation that are not in use, and rotate any access keys that were created at account creation and are still in use. Be sure to document this activity per your standard AWS access key request process.

References

  • CIS AWS Benchmark 1.21 "Do not setup access keys during initial user setup for all IAM users that have a console password"

Last updated