-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[C++][FS][Azure] Azure CLI authentation #39344
Comments
Note: this auth method is part of the default auth chain of the Azure SDK which is already available either implicitly of via |
Can we close this? |
What you think @Tom-Newton? Is there value in explicitly requesting CLI authentication instead of getting it from default behavior? |
I wouldn't close it. Probably this provides quite a small benefit, but a benefit nonetheless and I think it's very easy for us to implement this. There have been lots of times I've wanted to use some tool, only to find Azure Auth options are lacking, so I'm keen to be comprehensive here. |
take |
### Rationale for this change Maybe be useful to support explicit environment credential (currently environment credential can be used as part of the Azure default credential flow). ### What changes are included in this PR? Create `ConfigureCLICredential`. Add it to FromUri ### Are these changes tested? There are new unittests but no integration tests that we can actually authenticate successfully. We are relying on the Azure C++ SDK to abstracting that away. ### Are there any user-facing changes? Explicit CLI auth is now supported * GitHub Issue: #39344 Authored-by: Thomas Newton <thomas.w.newton@gmail.com> Signed-off-by: Sutou Kouhei <kou@clear-code.com>
Issue resolved by pull request 41976 |
Describe the enhancement requested
Child of #38598
Add support for Azure CLI auth. Should work on any system where you have run
az login
.https://github.com/Azure/azure-sdk-for-cpp/blob/main/sdk/identity/azure-identity/src/azure_cli_credential.cpp
Component(s)
C++
The text was updated successfully, but these errors were encountered: