htpasswdFileProvider

Version
A user data provider utilizing htpasswd-style files.

The htpasswdFileProvider loads users from a file in the format username:hash (one entry per line).

Supported hash formats are crypt(3)-style hashes ($<id>$<salt>$<hash>, optionally including rounds=<n>), bcrypt hashes ($2a$, $2b$, $2y$) and argon2id hashes ($argon2id$) with the strict format ($argon2id$v=19$m=65536,t=3,p=1$...$..., numbers may vary). The Apache $apr1$... format is not supported.

Can be used in

Attributes

NameRequiredDefaultDescriptionExamples
locationfalse-A path pointing to the htpasswd file.-