Skip to content

Instantly share code, notes, and snippets.

@laztname
Created February 22, 2023 06:26
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 laztname/d7e2c7d0e887c928559203e5752b4838 to your computer and use it in GitHub Desktop.
Save laztname/d7e2c7d0e887c928559203e5752b4838 to your computer and use it in GitHub Desktop.
cli login without printing plain-text password from history
read -sp "Azure password: " AZ_PASS && echo && az login -u <username> -p $AZ_PASS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment