1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

random_string docs to say it's cryptographically secure (#6691)

Modify random_string docs to state that randomness is cryptographically secure
This commit is contained in:
Matthew Davis 2023-06-30 07:29:50 +10:00 committed by GitHub
parent c4a2801f99
commit 89ad18d1a7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -16,6 +16,8 @@ DOCUMENTATION = r"""
version_added: '3.2.0' version_added: '3.2.0'
description: description:
- Generates random string based upon the given constraints. - Generates random string based upon the given constraints.
- Uses L(random.SystemRandom,https://docs.python.org/3/library/random.html#random.SystemRandom),
so should be strong enough for cryptographic purposes.
options: options:
length: length:
description: The length of the string. description: The length of the string.