Document bcrypt dependency. (#989)

(cherry picked from commit bb216ed164)
This commit is contained in:
Felix Fontein
2026-03-23 21:12:53 +01:00
parent d6260c90c4
commit 2764d8dac8

View File

@@ -21,6 +21,7 @@ requirements:
- ssh-keygen (if O(backend=openssh))
- cryptography >= 2.6 (if O(backend=cryptography) and OpenSSH < 7.8 is installed)
- cryptography >= 3.0 (if O(backend=cryptography) and OpenSSH >= 7.8 is installed)
- bcrypt (if O(backend=cryptography) and O(passphrase) is used)
extends_documentation_fragment:
- ansible.builtin.files
- community.crypto.attributes
@@ -78,6 +79,7 @@ options:
- Passphrase used to decrypt an existing private key or encrypt a newly generated private key.
- Passphrases are not supported for O(type=rsa1).
- Can only be used when O(backend=cryptography), or when O(backend=auto) and a required C(cryptography) version is installed.
Note that depending on the cryptography version, the C(bcrypt) package is also needed.
type: str
version_added: 1.7.0
private_key_format: