Ensure that customer secret keys for IAM users are rotated every 90 days or less in order to decrease the likelihood of accidental exposures and protect your Oracle Cloud Infrastructure (OCI) resources against unauthorized access. Customer secret keys are Access Key/Secret Key pairs necessary to authenticate with Amazon S3. Every IAM user can maintain a maximum of two keys simultaneously.
Customer secret keys do not have an expiration date. Rotating customer secret keys for OCI IAM users periodically will significantly reduce the chances that a compromised set of keys can be used without your knowledge to gain unauthorized access to object storage resources.
Audit
To determine if your IAM customer secret keys are regularly rotated (i.e., every 90 days), perform the following operations:
Remediation / Resolution
To rotate (regenerate) outdated customer secret keys for your IAM users, perform the following operations:
References
- Oracle Cloud Infrastructure Documentation
- Working with Customer Secret Keys
- Creating a Customer Secret Key
- Deleting a Customer Secret Key
- Oracle Cloud Infrastructure CLI Documentation
- user list
- customer-secret-key list
- customer-secret-key create
- customer-secret-key delete