Skip to content

Commit

Permalink
Tweak docs
Browse files Browse the repository at this point in the history
  • Loading branch information
JordonPhillips committed Nov 14, 2017
1 parent 46beb67 commit 072fa4f
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions awscli/topics/config-vars.rst
Original file line number Diff line number Diff line change
Expand Up @@ -201,15 +201,15 @@ in the AWS CLI config file:

* ``role_arn`` - The ARN of the role you want to assume.
* ``source_profile`` - The AWS CLI profile that contains credentials /
configuration we should use for the initial ``assume-role`` call. This
configuration the CLI should use for the initial ``assume-role`` call. This
profile may be another profile configured to use ``assume-role``, though
if static credentials are present in the profile they will be preferred.
if static credentials are present in the profile they will take precedence.
This parameter cannot be provided alongside ``credential_source``.
* ``credential_source`` - The credential provider to use to get credentials for
the initial ``assume-role`` call. This parameter cannot be provided
alongside ``source_profile``. Valid values are:
* ``Environment`` to pull source credentials from environment variables.
* ``Ec2InstanceMetadta`` to use the EC2 instance role as source credentials.
* ``Ec2InstanceMetadata`` to use the EC2 instance role as source credentials.
* ``EcsContainer`` to use the ECS container credentials as the source
credentials.
* ``external_id`` - A unique identifier that is used by third parties to assume
Expand Down Expand Up @@ -255,7 +255,8 @@ Example configuration using ``source_profile``::
role_arn=arn:aws:iam:...
source_profile=development

Example configuration using ``credential_source``::
Example configuration using ``credential_source`` to use the instance role as
the source credentials for the assume role call::

# In ~/.aws/config
[profile crossaccount]
Expand Down

0 comments on commit 072fa4f

Please sign in to comment.