authelia hash-password

authelia hash-password

Hash a password to be used in file-based users database

Synopsis

Hash a password to be used in file-based users database.

authelia hash-password [flags] -- <password>

Examples

authelia hash-password -- 'mypass'
authelia hash-password --sha512 -- 'mypass'
authelia hash-password --iterations=4 -- 'mypass'
authelia hash-password --memory=128 -- 'mypass'
authelia hash-password --parallelism=1 -- 'mypass'
authelia hash-password --key-length=64 -- 'mypass'

Options

  -c, --config strings    Configuration files
  -h, --help              help for hash-password
  -i, --iterations int    set the number of hashing iterations (default 3)
  -k, --key-length int    [argon2id] set the key length param (default 32)
  -m, --memory int        [argon2id] set the amount of memory param (in MB) (default 64)
  -p, --parallelism int   [argon2id] set the parallelism param (default 4)
  -s, --salt string       set the salt string
  -l, --salt-length int   set the auto-generated salt length (default 16)
  -z, --sha512            use sha512 as the algorithm (changes iterations to 50000, change with -i)

SEE ALSO

  • authelia - authelia untagged-unknown-dirty (master, unknown)
Auto generated by spf13/cobra on 27-Jun-2022