From 89ad18d1a78534ff9867e30f3322a5cf565b2ce7 Mon Sep 17 00:00:00 2001
From: Matthew Davis <7035647+mdavis-xyz@users.noreply.github.com>
Date: Fri, 30 Jun 2023 07:29:50 +1000
Subject: [PATCH] random_string docs to say it's cryptographically secure
 (#6691)

Modify random_string docs to state that randomness is cryptographically secure
---
 plugins/lookup/random_string.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/plugins/lookup/random_string.py b/plugins/lookup/random_string.py
index 89333492ad..3e873e1cf1 100644
--- a/plugins/lookup/random_string.py
+++ b/plugins/lookup/random_string.py
@@ -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.