Can a Shamir quorum restore one userpass administrator while keeping existing service tokens valid? #4578
|
Suppose the custodians hold shares 1 and 3 of a 2-of-3 Shamir quorum, but no administrative login or session is available. The goal is to restore access to one existing
A link to the applicable documentation, or confirmation that a prerequisite is missing, would be appreciated. |
Answered by
viniciusscience
Nov 24, 2026
Replies: 1 comment 2 replies
|
Here is the exact behavior in OpenBao ( 1. Can custodians initiate recovery with the 2-of-3 Shamir quorum alone while keeping default authentication protections in place?No — not through the standard listener when default listener protections ( Specifically:
2. Once a root token is generated via the Shamir quorum, can recovery be limited to that single
|
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Short answer: No — if no active authenticated token exists and you do not change the listener config (
disable_unauthed_generate_root_endpoints = true), there is no network-only/API-only way to reset auserpassuser with just the Shamir shares.Here is why, and what the officially supported attended procedure is:
Why a network-only reset isn't possible without an active token:
/v1/sys/generate-root-token/*and/v1/auth/userpass/*) require an existing valid token./v1/sys/generate-root/*) are blocked at the HTTP listener firewall by default (disable_unauthed_generate_root_endpoints = true, introduced for CVE-2…