User Authentication Key Generator
This tool generates the value for the AUTHENTICATION_USERS
environment variable. This variable is used to define the users that can authenticate to the application. The value should be a comma-separated list of email and password pairs, where the password is hashed using bcrypt.
txt
AUTHENTICATION_USERS=
Escaping in Docker Run
When using env variables in docker run command with -e
on bash, the $
character should be escaped in the password hash. For example, \$2a\$10\$...
.
Escaping in Docker Compose
When using env variables in docker-compose, the $
character should be escaped with another $
. For example, $$2a$$10$$...
.