az login --password-file
See original GitHub issueRelated command
az login
Is your feature request related to a problem? Please describe.
As a bash user logging script output I do not want to inadvertently capture a secret in my logs. To use az login
with a password I need to pass the password as an argument. This forces me to load the password into a shell variable which increases the likelihood the password will be captured in a log.
Describe the solution you’d like
I’d like az login
to support an option --password-file
which can be used instead of --password
. The value will be a path to a file from which the password can be read.
Issue Analytics
- State:
- Created a year ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Sign in with Azure CLI — Login and Authentication
Sign in with credentials on the command line ; read -sp "Azure password: " ; echo && az login -u <username> -p $AZ_PASS....
Read more >1.295 remote_login_passwordfile - Oracle Help Center
REMOTE_LOGIN_PASSWORDFILE specifies whether Oracle checks for a password file. ... The password of any user who has SYS* admin privileges ( SYSDBA ,...
Read more >John the Ripper - usage examples - Openwall
First, you need to get a copy of your password file. ... The simplest way is to let John use its default order...
Read more >How to use an Encrypted Password File in PowerShell Scripts?
Basically, we need to get the credentials from the user (once!) and store the encrypted password in a file. Here is the PowerShell...
Read more >Password file required for commandline job execution?
User authentication (also for connecting to DS Designer) has been introduced in DS 4.0. Add a Comment ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@kingces95, fully understood. I have made this PR a feature request and will certainly discuss with our PM @chasewilson @Jacekey23.
@jiasli Any progress on this fetaure ? This a must have for enterprise to use the azure-cli without compromizing the creds.