Ensure that your IAM user API keys 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. API keys are RSA key pairs which can be utilized by administrators, developers, and services for the direct access of OCI APIs, as well as through SDKs or the OCI Command Line Interface (CLI), to perform operations such as listing, creating, updating, or deleting OCI resources.
Rotating IAM user credentials periodically will significantly reduce the chances that a compromised set of API keys can be used without your knowledge to access certain components and resources within your Oracle Cloud Infrastructure (OCI) tenancy.
Audit
To determine if your IAM user API keys are regularly rotated (i.e., every 90 days), perform the following operations:
Remediation / Resolution
To rotate (regenerate) outdated API signing keys for your IAM user, perform the following operations:
Rotating API signing keys for IAM users using Oracle Cloud Infrastructure (OCI) CLI is not currently supported.References
- Oracle Cloud Infrastructure Documentation
- Overview of Identity and Access Management
- Managing User Credentials
- Oracle Cloud Infrastructure CLI Documentation
- user list
- user api-key list