Skip to content

Instantly share code, notes, and snippets.

@micahhausler
Created August 9, 2023 13:25
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 micahhausler/8006e6ef7709798650d2fde5151b87b0 to your computer and use it in GitHub Desktop.
Save micahhausler/8006e6ef7709798650d2fde5151b87b0 to your computer and use it in GitHub Desktop.
AWS config file
[default]
region = us-west-2
role_arn = arn:aws:iam::123456789012:role/role-name
web_identity_token_file = /var/run/secrets/eks.amazonaws.com/serviceaccount/token
duration_seconds = 43200 # 12 hours, maximum
# role_session_name = pod_name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment