Created
February 22, 2023 06:26
-
-
Save laztname/d7e2c7d0e887c928559203e5752b4838 to your computer and use it in GitHub Desktop.
cli login without printing plain-text password from history
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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