Skip to main content

Module auth

Module auth 

Source

Modules§

context

Functions§

is_non_interactive
Check if we are in non-interactive mode. Returns true if stdin is not a TTY or AUTHY_NON_INTERACTIVE=1 is set.
read_keyfile
Read an age keyfile from disk. Returns (identity_string, public_key_string).
resolve_auth
Resolve authentication. Tries in order:
resolve_auth_for_init
Resolve auth specifically for init (no vault exists yet, just get the key).