chore(secrets): rotate the MokerLink community - #27
Merged
Conversation
The switch was the one device #9 never reached. It is rotated now: the value here is the one the switch answers, confirmed by snmp-exporter scraping it clean at 0 retries. This had been applied to the device and to the working tree but never committed, so HEAD still carried the previous value — one a fresh clone would have rendered and no device has ever accepted. The diff shows which key changed and nothing about its value; SOPS encrypts values and leaves keys in plaintext. Refs #9 Co-Authored-By: Claude Opus 5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Commits a rotation that was already applied to the device and the working tree but never committed.
What changed
SNMP_COMMUNITY_MOKERLINKonly. One key, values encrypted.Why
The MokerLink switch is the device #9 never reached. It has now been rotated,
and snmp-exporter scrapes it clean at 0 retries with this value — so the
credential is verified against the hardware.
But
HEADstill carried the previous value, which no device has ever accepted.A fresh clone or a second host would have rendered that one and polled with a
community the switch does not know.
git logalso had no record that therotation happened, which the rotation runbook’s §3 exists to prevent.
Blast radius
Secrets file only. No config, no service definition, no segmentation change.
The running stack already holds this value —
make renderwas run when theswitch was rotated — so no redeploy is needed and nothing changes on merge.
secrets/*.sops.yamlVerification
CI asserts the file is still genuinely encrypted and that no decrypted artefact
is tracked.
make validatepassesSECURITY.mdRefs #9