From 72a1922a9cdc7c877c91d2e97d0c53ed34b437f4 Mon Sep 17 00:00:00 2001 From: Seth Foster Date: Thu, 2 Jul 2026 15:52:26 -0400 Subject: [PATCH] Replace realistic looking credentials in subscriptions module examples (#16531) Replace hardcoded credentials in subscriptions module examples The EXAMPLES block contained values that looked like real client credentials. Replace them with obvious placeholders and add a username/password example. Co-authored-by: Claude Opus 4.6 --- awx_collection/plugins/modules/subscriptions.py | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/awx_collection/plugins/modules/subscriptions.py b/awx_collection/plugins/modules/subscriptions.py index 1834d893df..3794497ed8 100644 --- a/awx_collection/plugins/modules/subscriptions.py +++ b/awx_collection/plugins/modules/subscriptions.py @@ -62,13 +62,18 @@ subscriptions: EXAMPLES = ''' - name: Get subscriptions subscriptions: - client_id: "c6bd7594-d776-46e5-8156-6d17af147479" - client_secret: "MO9QUvoOZ5fc5JQKXoTch1AsTLI7nFsZ" + client_id: "00000000-0000-0000-0000-000000000000" + client_secret: "your-client-secret-here" + +- name: Get subscriptions with username and password + subscriptions: + username: "my_username" + password: "my_password" - name: Get subscriptions with a filter subscriptions: - client_id: "c6bd7594-d776-46e5-8156-6d17af147479" - client_secret: "MO9QUvoOZ5fc5JQKXoTch1AsTLI7nFsZ" + client_id: "00000000-0000-0000-0000-000000000000" + client_secret: "your-client-secret-here" filters: product_name: "Red Hat Ansible Automation Platform" support_level: "Self-Support"