routeros: one-command password rotation + secrets/state doc (#68) #135

Merged
ginjiruu merged 1 commit from rotate-password-68 into master 2026-11-17 18:54:12 +00:00
Owner

Implements the two remaining #68 items.

  • task routeros:rotate-password DEVICE=...: device first (admin login), verify new accepted/old refused, kv patch the one key (other keys untouched), force-sync routeros--env, verify the Secret's password logs in. Resumable, refuses an armed device, never reconciles (approvePlan auto).
  • docs/routeros/README.md: Secrets and state (credential flow, rotation incl. peer impact + rollback backup password, state backend, no backup story, #99).

Tests: task routeros:rotate-sim ALL PASS (happy, crash after device, crash after bao, armed refusal); shellcheck clean; routeros:guard OK; kubectl annotate --dry-run=server OK for all 3 ExternalSecrets on mini. No live rotation was run.

Closes #68

Implements the two remaining #68 items. - task routeros:rotate-password DEVICE=...: device first (admin login), verify new accepted/old refused, kv patch the one key (other keys untouched), force-sync routeros-<dev>-env, verify the Secret's password logs in. Resumable, refuses an armed device, never reconciles (approvePlan auto). - docs/routeros/README.md: Secrets and state (credential flow, rotation incl. peer impact + rollback backup password, state backend, no backup story, #99). Tests: task routeros:rotate-sim ALL PASS (happy, crash after device, crash after bao, armed refusal); shellcheck clean; routeros:guard OK; kubectl annotate --dry-run=server OK for all 3 ExternalSecrets on mini. No live rotation was run. Closes #68
routeros/rotate-password.sh: device first via admin REST, verify new/old,
kv patch the one key, force-sync routeros-<dev>-env, verify the Secret logs in.
Resumable pending file, refuses an armed device, no reconcile (approvePlan auto).
routeros/sim/rotate/run.sh proves it on CHR + bao dev: happy, crash after
device, crash after bao, armed refusal. README: Secrets and state section.

Closes #68
ginjiruu merged commit a963a5c481 into master 2026-11-17 18:54:12 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
lab/iac!135
No description provided.