A credential rotation is completed and later one logging path continues to fail even though the secret update is visible in the cluster.
An Elastic API key rotates successfully and one Beats sidecar keeps 401ing because the pod never rolled and still mounts the old projected secret volume version
The new secret exists, yet one ingest path stays unauthorized because its workload never reopened the updated secret projection.
Scenario
What to check first
- Identify the primary failure signal in the IAM scenario.
- Separate visible symptoms from the underlying technical dependency.
- Describe the safest recovery path and the follow-up prevention work.
Checking checklist
- Summarize the current impact and the last known change.
- Collect direct evidence from logs, runtime state, and configuration before changing anything.
- Separate immediate recovery from permanent prevention work.
Recovery and prevention
Verify pod rollout and mounted secret version before minting another API key.
Questions worth viewing together
Community-field security problem inspired by Elastic community patterns where a sidecar kept using an old projected API key after cluster rotation. A cluster secret update does not prove the consuming pod ever reloaded the new value.
Teams often blame bad API key scopes when the pod is still reading yesterday's projection.
Credential rotation on Kubernetes should always include rollout verification for projected-secret consumers.
Similar cases seen in the field