mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Merge pull request #8873 from RichardBarrell/issue-8872
Issue 8872: use getpass.getpass() to read password.
This commit is contained in:
commit
5a7cbdda7e
1 changed files with 1 additions and 1 deletions
|
@ -217,7 +217,7 @@ password hashing library is installed.
|
||||||
|
|
||||||
Once the library is ready, SHA512 password values can then be generated as follows::
|
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:
|
.. _commercial_support:
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue