π‘οΈ Oracle IAM Customer Secret Keys are not rotated every 90 daysπ’
- Contextual name: π‘οΈ IAM Customer Secret Keys are not rotated every 90 daysπ’
- ID:
/ce/ca/oracle/iam/customer-secrets-are-not-rotated-every-90-days - Tags:
- π’ Policy with categories
- π’ Policy with type
- π’ Production policy
- Policy Type:
COMPLIANCE_POLICY - Policy Categories:
SECURITY
Statsβ
not available
Logicβ
- π§ prod.logic.yamlπ’
Similar Policiesβ
- Internal:
dec-x-087d4ffc
Similar Internal Rulesβ
| Rule | Policies | Flags |
|---|---|---|
| βοΈ dec-x-087d4ffc | 1 |
Descriptionβ
Descriptionβ
This policy identifies Oracle IAM customer secret keys that were created more than 90 days ago.
Rationaleβ
Oracle IAM customer secret keys are used by Amazon S3-compatible clients to authenticate to OCI Object Storage. These credentials do not expire automatically, so an exposed or forgotten key can continue to provide access until it is deleted or replaced. Rotating customer secret keys on a defined schedule reduces the amount of time a compromised key can be used, helps remove stale credentials from applications and integrations, and supports regular validation of who still requires S3-compatible Object Storage access.
Impactβ
Rotating a customer secret key can disrupt applications, integrations, or users that still depend on the old key. Create a replacement key, update all dependent workloads, and confirm Object Storage access before deleting the stale key.
Auditβ
This policy flags an Oracle IAM Customer Secret as
INCOMPLIANTif theTime Createdfield is more than 90 days old.
Remediationβ
Remediationβ
Rotate Stale Customer Secret Keysβ
Create a replacement customer secret key, update every dependent workload to use the new key, and delete the stale key after confirming that it is no longer required. Because customer secret keys are long-term credentials, avoid extending the life of the stale key after the replacement has been validated.
From OCI CLIβ
List the user's customer secret keys:
oci iam customer-secret-key list --user-id {{user-ocid}} --allCreate a replacement customer secret key:
oci iam customer-secret-key create \
--user-id {{user-ocid}} \
--display-name {{new-key-name}}Update applications, integrations, and users to use the replacement key. After confirming that Object Storage access works with the replacement key and the stale key is no longer used, delete the stale key:
oci iam customer-secret-key delete \
--user-id {{user-ocid}} \
--customer-secret-key-id {{stale-key-id}}