-
Notifications
You must be signed in to change notification settings - Fork 211
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
[Issue] azd provision with a postprovision script - how is az cli auth handled? #2975
Comments
az and azd both have its own auth. Some alternatives: 1 ) azd supports using
|
As @vhvb1989 mentions, we don't flow authentication information from |
Hi @dfberry. Thank you for opening this issue and giving us the opportunity to assist. We believe that this has been addressed. If you feel that further discussion is needed, please add a comment with the text “ |
Can the docs provide better design/conceptual guidance for auth in the e2e dev experience? If I know I'm using scripts that are used in Azd hooks, and also used in local development, there should be a pattern/system to set up auth so that both work. This should also include how those scripts get env variables from .azure or from default values or from key vault. |
Hi @dfberry, since you haven’t asked that we “ |
Last week, I ran a postprovision script that called az cli without auth issues - the script ran fine. Now this week, the same postprovision script returns an auth error for the az cli command. How is auth passed from azd cli to az cli for postprovision scripts? Has something changed?
I'm in Codespaces, run
azd auth login
then runazd provision
.The text was updated successfully, but these errors were encountered: