Last active
May 6, 2022 11:34
-
-
Save devhero/0274c650e19e9f47162cff2c4da42aa7 to your computer and use it in GitHub Desktop.
htpasswd #encrypt #sha1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
htpasswd -nbBC 10 USER topsecret | |
# USER:$2y$10$vDtCxgJ4DIZ1itAAq6NDkedmaDFHlPdlpLY.EiEa3QBXHnH0oLatW | |
# used with traefik | |
echo $(htpasswd -nb USER topsecret) | sed -e s/\\$/\\$\\$/g | |
# USER:$$apr1$$rjtvYgpl$$urvcY8G0rd9ZpskQc0u28. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment