Skip to content

Instantly share code, notes, and snippets.

@amrutprabhu
Last active November 25, 2018 14:45
Show Gist options
  • Save amrutprabhu/ceadab3f7cc3996e36089d32d536ed58 to your computer and use it in GitHub Desktop.
Save amrutprabhu/ceadab3f7cc3996e36089d32d536ed58 to your computer and use it in GitHub Desktop.
AWS commands for managing profiles, getting identity, eks config update
-- AWS create user profile
aws configure --profile <profile name>
-- Get Caller identity
aws sts get-caller-identity --profile <profile-name>
-- ECR authentication token (https://docs.aws.amazon.com/AmazonECR/latest/userguide/Registries.html)
aws ecr get-login --profile <profile name>
-- AWS EKS config add/update
aws eks update-kubeconfig --name <eks name> --profile <profile-name>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment