external_id - AWS SDKs and Tools


Specifies a unique identifier that is used by third parties to assume a role in their customers' accounts.


This setting applies only when the profile specifies to assume a role and the trust policy for the role requires a value for ExternalId. The value maps to the ExternalId parameter that is passed to the AssumeRole operation when the profile specifies a role. For more information, see How to use an External ID When Granting Access to Your AWS Resources to a Third Party in the IAM User Guide.

Ways to set this value

Location Supported Example
config file Yes
external_id = unique_value_assigned_by_3rd_party
credentials file -
Environment variable -
AWS CLI parameter -

Compatibility with AWS SDKS and tools