[aws_ssm lookup plugin] Add example of using explicit aws credentials (#53956)

This commit is contained in:
Vlad Romanenko 2019-03-18 14:38:08 +00:00 committed by Sloane Hertel
parent 7da565b3ae
commit fc2ad0e9de

View file

@ -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') }}"