Skip to main content

token

Function token 

Source
pub fn token(stores: &ServerStores, command: TokenCommand) -> Result<()>
Expand description

gunnar token.

ยงThe secret is printed once and then does not exist

gunnar_core::mint_token_secret produces it, register_token stores only its sha-256, and this is the only place it is ever written out. It goes to stdout alone, with the explanation on stderr, so TOKEN=$(gunnar token add ci) captures the credential and nothing else.