Skip to main content

Module set_token

Module set_token 

Source
Expand description

Actions for dsp auth set-token.

Reads a pre-issued JWT from stdin, verifies it against the server with a live probe, and — only if the probe succeeds — writes it into the auth cache. Subsequent commands then reuse the token until it expires.

See plan 008 for the full validation flow and design decisions.

Functions§

run
Cache a pre-issued bearer token read from stdin.