mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #36445 from notpeter/salt_cloud_iam_role
Better docs for use-instance-role-credentials.
This commit is contained in:
commit
87263b9387
1 changed files with 3 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue