Check ID:
Provider: Oracle Cloud (OCI)
Service:
Severity: MEDIUM
Categories:
Resource type:
identity_user_customer_secret_keys_rotated_90_daysProvider: Oracle Cloud (OCI)
Service:
identitySeverity: MEDIUM
Categories:
identity-access, secretsResource type:
UserWhat this check verifies
OCI IAM customer secret keys are assessed by creation timestamp to determine whether their age exceeds90 days.
Risk
Long-lived customer secret keys keep compromised or brute-forced credentials valid. Attackers can use them to list, read, write, or delete Object Storage data, enabling exfiltration, tampering, and disruption-impacting confidentiality, integrity, and availability.Recommendation
Rotate customer secret keys every<= 90 days. Apply least privilege, remove unused keys, and prefer short-lived identities (instance/resource principals) over static secrets. Automate rotation and alerts, avoid embedding keys in code, and continuously monitor key usage.
Remediation
- CLI
- Dashboard steps
oci iam customer-secret-key delete —user-id <example_resource_id> —customer-secret-key-id <example_resource_id> —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_customer_secret_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