Skip to content

Instantly share code, notes, and snippets.

@mgoodness
Last active August 18, 2016 14:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mgoodness/64c47326d8e030d086177d13ff531747 to your computer and use it in GitHub Desktop.
Save mgoodness/64c47326d8e030d086177d13ff531747 to your computer and use it in GitHub Desktop.
Example AWS credentials file for Java SDK-compatible role assumption
[default]
aws_access_key_id = <ACCESS_KEY>
aws_secret_access_key = <SECRET_KEY>
[prod]
role_arn = arn:aws:iam::<ACCOUNT_NUMBER>:role/<PROD_ROLE_NAME>
source_profile = default
[stage]
role_arn = arn:aws:iam::<ACCOUNT_NUMBER>:role/<STAGE_ROLE_NAME>
source_profile = default
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment