Scroll to navigation

Caddy(8) Caddy(8)

NAME

caddy-hash-password - Hashes a password and writes base64

SYNOPSIS

caddy hash-password [--plaintext ] [--algorithm ] [flags]

DESCRIPTION

Convenient way to hash a plaintext password. The resulting hash is written to stdout as a base64 string.

--plaintext, when omitted, will be read from stdin. If Caddy is attached to a controlling tty, the plaintext will not be echoed.

--algorithm currently only supports 'bcrypt', and is the default.

OPTIONS

-a, --algorithm="bcrypt" Name of the hash algorithm

-h, --help[=false] help for hash-password

-p, --plaintext="" The plaintext password

SEE ALSO

caddy(8)

HISTORY

19-Jun-2024 Auto generated by spf13/cobra

Jun 2024 Auto generated by spf13/cobra