1Caddy(8) Caddy(8)
2
3
4
6 caddy-hash-password - Hashes a password and writes base64
7
8
9
11 caddy hash-password [flags]
12
13
14
16 Convenient way to hash a plaintext password. The resulting hash is
17 written to stdout as a base64 string.
18
19
20 --plaintext, when omitted, will be read from stdin. If Caddy is at‐
21 tached to a controlling tty, the plaintext will not be echoed.
22
23
24 --algorithm may be bcrypt or scrypt. If scrypt, the default parameters
25 are used.
26
27
28 Use the --salt flag for algorithms which require a salt to be provided
29 (scrypt).
30
31
32 Note that scrypt is deprecated. Please use 'bcrypt' instead.
33
34
35
37 --algorithm="bcrypt" Name of the hash algorithm
38
39
40 -h, --help[=false] help for hash-password
41
42
43 --plaintext="" The plaintext password
44
45
46 --salt="" The password salt
47
48
49
51 caddy(8)
52
53
54
56 15-Aug-2023 Auto generated by spf13/cobra
57
58
59
60Auto generated by spf13/cobra Aug 2023 Caddy(8)