Merge pull request #36445 from notpeter/salt_cloud_iam_role

Better docs for use-instance-role-credentials.
This commit is contained in:
Mike Place 2016-09-21 14:58:53 +09:00 committed by GitHub
commit 87263b9387

View file

@ -12,13 +12,10 @@ To use the EC2 cloud module, set up the cloud configuration at
.. code-block:: yaml
my-ec2-config:
# The EC2 API authentication id, set this and/or key to
# 'use-instance-role-credentials' to use the instance role credentials
# from the meta-data if running on an AWS instance
# EC2 API credentials: Access Key ID and Secret Access Key.
# Alternatively, to use IAM Instance Role credentials available via
# EC2 metadata set both id and key to 'use-instance-role-credentials'
id: GKTADJGHEIQSXMKKRBJ08H
# The EC2 API authentication key, set this and/or id to
# 'use-instance-role-credentials' to use the instance role credentials
# from the meta-data if running on an AWS instance
key: askdjghsdfjkghWupUjasdflkdfklgjsdfjajkghs
# The ssh keyname to use
keyname: default