Skip to content
Discussion options

You must be logged in to vote

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 a userpass user with just the Shamir shares.

Here is why, and what the officially supported attended procedure is:

  1. Why a network-only reset isn't possible without an active token:

    • Normal authenticated endpoints (/v1/sys/generate-root-token/* and /v1/auth/userpass/*) require an existing valid token.
    • The unauthenticated root-generation endpoints (/v1/sys/generate-root/*) are blocked at the HTTP listener firewall by default (disable_unauthed_generate_root_endpoints = true, introduced for CVE-2…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@mysics
Comment options

@viniciusscience
Comment options

Answer selected by mysics
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants