Skip to main content

Module auth

Module auth 

Source
Expand description

drep auth - manage the keys drep holds for this machine.

The store is written by drep init as a side effect of setting a provider up. These subcommands exist for everything after that: rotating a key, adding one for an endpoint you configured by hand, checking what is held, and removing one.

No subcommand ever prints a key. list prints endpoints, login reads one without echoing it, and logout reports only whether anything was removed. A drep auth show would be the obvious convenience and is deliberately absent: the store is a file, and anyone who genuinely needs the value can read it, having chosen to.

Structs§

AuthArgs
LoginArgs
LogoutArgs

Enums§

AuthCommand

Functions§

run
Run the command, writing to stdout.
run_at
run_to, against a named store.