Post

Using the runtime SSM key for External Secrets rotation credentials

Using the runtime SSM key for External Secrets rotation credentials

External Secrets Operator rotates its AWS authentication credentials in us-west-2, and the rotation procedure had drifted away from the key where those credentials actually live at runtime. I updated the operations notes so both credential parameters reference the runtime SSM key, including the recovery paths for restoring a previous pair or recovering a replacement pair after an incomplete rollback. The companion CI check gains a single line at the same boundary, but this is merged code and documentation, not yet a verified runtime result.

Rotation credentials now come from the runtime key

The External Secrets AWS key rotation documentation now states that both credential parameters in us-west-2 use the runtime SSM key. That covers the normal rotation case as well as restoring the previous pair or recovering the replacement pair after an incomplete rollback. I treated this as a documentation correction rather than a configuration diff, because the rotation script reads from a named runtime key and the notes had stopped matching it. No cluster parameters were changed in this push; only the statement of which key owns each credential was aligned with the script.

The offline CI check marks the same boundary

scripts/ci/offline-checks.sh gained one line immediately after the endgroup marker near line 1600. The excerpt does not reveal the assertion text, so I can only confirm the addition exists at that location alongside existing endgroup output. The commit title frames this as a secrets fix, which suggests the line validates that rotation references the runtime key rather than a stale bootstrap key, but the actual check behavior remains unverified until the suite runs.

Documentation and checks stay unproven until runtime confirms them

I am treating the docs edit and the CI addition as paired but not yet proven. Merged code is not deployment verification, and an added CI line is not a passing run. The next check is to execute the offline check suite against a rotation scenario and confirm the runtime key path is exercised without false positives. A platform team could reuse this same shape whenever a credential rotation script points at one key while the runbook describes another: align the documentation first, then add the check that fails when they diverge.

This post is licensed under CC BY 4.0 by the author.