Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Comments to "How Azure CLI Manages Your Access Tokens" #14

Open
mikhailshilkov opened this issue Jul 4, 2019 · 3 comments

Comments

Projects
None yet
2 participants
@mikhailshilkov
Copy link
Owner

commented Jul 4, 2019

Add your comment to How Azure CLI Manages Your Access Tokens.
The comments will be displayed directly on the website page.

@hbknjr

This comment has been minimized.

Copy link

commented Jul 11, 2019

Hey there, Its a nice blog. But can you help me with azure cli.

I am working with azure's python sdk which uses the cli based authentication. Since I am required to use multiple accounts the set-up works perfectly in Linux by creating muliple users and calling python script.

I want similar result in windows but without the overhead of creating multiple users in windows. Is there way to do that like specifying the .azure directory manually while trying to authenticate with CLI.
I tried using AAD but my needs span across multiple directories.

@mikhailshilkov

This comment has been minimized.

Copy link
Owner Author

commented Jul 11, 2019

Unfortunately, I don't know an answer to that. I can only think of running az login before each script or using WSL, but you probably know of these options without me. I think your best bet is to ask a question on Stack Overflow.

@hbknjr

This comment has been minimized.

Copy link

commented Jul 11, 2019

Thank you for replying. I finally figured it out. Using AZURE_CONFIG_DIR environment variable i was able to separate the profile directories.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.