forked from apache/arrow
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
apacheGH-39449: [C++] Use default Azure credentials implicitly and su…
…pport anonymous credentials explicitly (apache#39450) ### Rationale for this change - Default credentials should be used by default. - There should be a way to connect to public containers without credentials (aka "anonymous credential"). ### What changes are included in this PR? - Sync ordering of declarations and definitions in the `AzureOptions` classs - Use default credentials even when `ConfigureDefaultCredential()` isn't explicitly called - Create clients when `credential_kind_` is "anonymous" instead of returning an error ### Are these changes tested? By new and existing tests. * Closes: apache#39449 Lead-authored-by: Felipe Oliveira Carvalho <felipekde@gmail.com> Co-authored-by: Sutou Kouhei <kou@cozmixng.org> Signed-off-by: Felipe Oliveira Carvalho <felipekde@gmail.com>
- Loading branch information
Showing
3 changed files
with
92 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters