mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
[aws_ssm lookup plugin] Add example of using explicit aws credentials (#53956)
This commit is contained in:
parent
7da565b3ae
commit
fc2ad0e9de
1 changed files with 3 additions and 0 deletions
|
@ -70,6 +70,9 @@ EXAMPLES = '''
|
|||
- name: lookup ssm parameter store in nominated aws profile
|
||||
debug: msg="{{ lookup('aws_ssm', 'Hello', aws_profile='myprofile' ) }}"
|
||||
|
||||
- name: lookup ssm parameter store using explicit aws credentials
|
||||
debug: msg="{{ lookup('aws_ssm', 'Hello', aws_access_key=my_aws_access_key, aws_secret_key=my_aws_secret_key, aws_security_token=my_security_token ) }}"
|
||||
|
||||
- name: lookup ssm parameter store with all options.
|
||||
debug: msg="{{ lookup('aws_ssm', 'Hello', decrypt=false, region='us-east-2', aws_profile='myprofile') }}"
|
||||
|
||||
|
|
Loading…
Reference in a new issue