Skip to content

Instantly share code, notes, and snippets.

@gohjiaying
Last active August 2, 2020 03:19
Show Gist options
  • Save gohjiaying/b1cdce917ae76e1366f278b3994f9db8 to your computer and use it in GitHub Desktop.
Save gohjiaying/b1cdce917ae76e1366f278b3994f9db8 to your computer and use it in GitHub Desktop.

Docker CLI Download

  1. Download Docker Cloud
  2. Open application and sign in
  3. Go CLI docker ps

Visual Studio Code

  • For AWS Client , it is region specific. If different region is required, have 2 client.
  • Download AWS Toolkit

AWS CLI and login via SSO

  • Download AWS CLI 2
  • Install AWSP. This is for easy command line switch between profiles.
  • Install aws2-wrap. This is for export sso programmatic access keys to be use for git commit or terraform.
  • Got to .bash_profile, insert the function below:
function awslogin(){
  awsp;
  aws sso login;
  eval $(aws2-wrap --export)
}
  • To login via sso, type awslogin, select the profile to login to.
  • Check environment has been populated with credentials using env
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment