mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-02 08:43:10 +00:00
Merge pull request #8873 from RichardBarrell/issue-8872
Issue 8872: use getpass.getpass() to read password.
This commit is contained in:
@@ -217,7 +217,7 @@ password hashing library is installed.
|
||||
|
||||
Once the library is ready, SHA512 password values can then be generated as follows::
|
||||
|
||||
python -c "from passlib.hash import sha512_crypt; print sha512_crypt.encrypt('<password>')"
|
||||
python -c "from passlib.hash import sha512_crypt; import getpass; print sha512_crypt.encrypt(getpass.getpass())"
|
||||
|
||||
.. _commercial_support:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user