Remediation
Rotate Stale Auth Tokensβ
Create a replacement auth token for the affected user, update every dependent workload to use the new token, and delete the stale token after confirming that it is no longer required.
From OCI Consoleβ
- Open Identity & Security.
- Open the affected identity domain.
- Open Users and select the affected user.
- Open Auth tokens.
- Generate a replacement auth token and store the token value securely.
- Update dependent applications, scripts, or integrations to use the replacement token.
- Delete auth tokens older than 90 days after confirming they are no longer used.
From OCI CLIβ
List the user's auth tokens:
oci iam auth-token list --user-id {{user-ocid}} --all
Create a replacement auth token:
oci iam auth-token create \
--user-id {{user-ocid}} \
--description {{new-token-description}}
Update dependent workloads to use the replacement token. After confirming that the stale token is no longer used, delete it:
oci iam auth-token delete \
--user-id {{user-ocid}} \
--auth-token-id {{stale-token-id}}