Check ID:
Provider: Oracle Cloud (OCI)
Service:
Severity: MEDIUM
Categories:
Resource type:
identity_user_api_keys_rotated_90_daysProvider: Oracle Cloud (OCI)
Service:
identitySeverity: MEDIUM
Categories:
identity-access, secretsResource type:
UserWhat this check verifies
OCI IAM users with active API signing keys older than90 days are identified. Key age is derived from each key’s creation time; only active keys are considered. Users without API keys are recorded.
Risk
Long-lived API keys widen exposure. If a key leaks, an attacker can sign OCI API calls without MFA, enabling unauthorized changes (integrity), data access (confidentiality), and service outages (availability). Delayed rotation prolongs dwell time and complicates incident response.Recommendation
Enforce API key rotation every90 days.
- Issue a new key, confirm workloads use it, then revoke the old key
- Apply least privilege and avoid shared keys
- Limit active keys per user and remove unused ones
- Monitor usage and automate rotation for defense in depth
Remediation
- CLI
- Dashboard steps
oci iam api-key delete —user-id <user-ocid> —fingerprint <old-key-fingerprint> —force
References
Where this check fires
This check runs on every scheduled scan against your Oracle Cloud (OCI) account. Findings appear at Cloud Security → Findings filterable byCheck ID = identity_user_api_keys_rotated_90_days. To re-evaluate after a fix, hit Run now on the account’s schedule under Cloud Security → Schedules — the next scan re-checks this control and marks the finding fixed or keeps it persistent.
← Back to Oracle Cloud (OCI) checks