mirror of
https://github.com/ansible/awx.git
synced 2026-07-04 12:58:02 -02:30
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 <noreply@anthropic.com>
This commit is contained in:
@@ -62,13 +62,18 @@ subscriptions:
|
|||||||
EXAMPLES = '''
|
EXAMPLES = '''
|
||||||
- name: Get subscriptions
|
- name: Get subscriptions
|
||||||
subscriptions:
|
subscriptions:
|
||||||
client_id: "c6bd7594-d776-46e5-8156-6d17af147479"
|
client_id: "00000000-0000-0000-0000-000000000000"
|
||||||
client_secret: "MO9QUvoOZ5fc5JQKXoTch1AsTLI7nFsZ"
|
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
|
- name: Get subscriptions with a filter
|
||||||
subscriptions:
|
subscriptions:
|
||||||
client_id: "c6bd7594-d776-46e5-8156-6d17af147479"
|
client_id: "00000000-0000-0000-0000-000000000000"
|
||||||
client_secret: "MO9QUvoOZ5fc5JQKXoTch1AsTLI7nFsZ"
|
client_secret: "your-client-secret-here"
|
||||||
filters:
|
filters:
|
||||||
product_name: "Red Hat Ansible Automation Platform"
|
product_name: "Red Hat Ansible Automation Platform"
|
||||||
support_level: "Self-Support"
|
support_level: "Self-Support"
|
||||||
|
|||||||
Reference in New Issue
Block a user