Skip to content

chore(secrets): rotate the MokerLink community - #27

Merged
Gerrrt merged 1 commit into
mainfrom
chore/commit-mokerlink-rotation
Aug 19, 2026
Merged

chore(secrets): rotate the MokerLink community#27
Gerrrt merged 1 commit into
mainfrom
chore/commit-mokerlink-rotation

Conversation

@Gerrrt

@Gerrrt Gerrrt commented Aug 19, 2026

Copy link
Copy Markdown
Owner

Commits a rotation that was already applied to the device and the working tree but never committed.

What changed

SNMP_COMMUNITY_MOKERLINK only. 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 HEAD still 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 log also had no record that the
rotation 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 render was run when the
switch was rotated — so no redeploy is needed and nothing changes on merge.

  • No change to network segmentation or firewall rules
  • No new port published to a VLAN that could not already reach the service
  • No credential added outside secrets/*.sops.yaml

Verification

up{job="snmp"}   all four = 1
neo 10.7.7.2     snmp_scrape_packets_retried = 0

CI asserts the file is still genuinely encrypted and that no decrypted artefact
is tracked.

  • make validate passes
  • Deployed to the lab and confirmed working
  • Docs updated — n/a, status already recorded in SECURITY.md

Refs #9

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]>
@Gerrrt
Gerrrt merged commit 633cc75 into main Aug 19, 2026
3 checks passed
@Gerrrt
Gerrrt deleted the chore/commit-mokerlink-rotation branch August 19, 2026 03:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant