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'
description:
- 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:
length:
description: The length of the string.