Skip to main content

handle_vault_generate

Function handle_vault_generate 

Source
pub(crate) async fn handle_vault_generate(
    __arg0: State<AppState>,
    caller: Option<Extension<Caller>>,
    __arg2: Json<GenerateBody>,
) -> Response
Expand description

POST /api/v1/vault/generate: a new entry whose value the Vault makes (SPEC_VAULT_GENERATE_CAPTURE_AND_BROWSER_SIGNINS_2026_10_28.md §4.1). The person isn’t asked: the value is no secret of theirs, nobody has seen it, and using it later asks as every use does. The answer names the entry, never the value.