Skip to content
Playground(another site)

bynk.revert.secret_changed

Error bynk revert refused because a secret changed after the target was live, so the rollback could restore an old secret value that its peers no longer accept.

A rollback can restore the old value of a secret that was rotated after the target was live, and its peers no longer accept that value. bynk revert counts the secret changes between the target and now and refuses if there are any. After a bynk migrate sweep, whose two changes touch only its own temporary key, pass --accept-secret-changes. A secret rotated before the release you are leaving is kept and does not count.

Example

bynk revert --dry-run
secrets shop-orders refused: 2 secret change(s) since the target
bynk revert --accept-secret-changes # only after a `bynk migrate sweep`

In the Book

See also

  • Every code in its category, Other, on the diagnostic index.
  • bynk explain bynk.revert.secret_changed shows the same from the installed toolchain, without a network.