-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Key Vault live tests do not make use of AZURE_AUTHORITY_HOST #11237
Comments
The right thing should happen here re the authority, given the code in master. It's certainly not obvious but in this case the client responsible for sending requests to AAD will consume AZURE_AUTHORITY_HOST (via |
@chlowell - Are you saying there is a bug in the test or in the lib code? |
I'm saying the preparer uses Actually it appears the failure here occurs when creating a Key Vault, so I'd guess the management library's credential is misconfigured (in which case |
@danieljurek - What part of the test is failing? I'm not seeing a KV being created in the test it self. My local EnvCred tests work against other clouds - so I'm guessing this is something to do with the test code. |
The Key Vault is created by This begins to look like a project for me, if no one else is already investigating. When do we hope to have these tests passing? |
Has there been any update to this issue? |
A few things have changed. azure-mgmt-keyvault now has a track 2 version, so the management client should (certainly could) use an azure-identity credential which observes $AZURE_AUTHORITY_HOST. But we're now replacing |
|
When running tests with a custom
AZURE_AUTHORITY_HOST
environment variable set many tests fail with error:(source)
This may have something to do with how the preparer uses EnvironmentCredential and EnvironmentCredential doesn't directly reference
AZURE_AUTHORITY_HOST
in an obvious wayThe text was updated successfully, but these errors were encountered: