object_store Azure Government using OAuth #6759
Labels
enhancement
Any new improvement worthy of a entry in the changelog
good first issue
Good for newcomers
help wanted
Which part is this question about
object_store Azure
Describe your question
I have reviewed this issue #4853 which also pertains to using Azure Government. That example uses shared key authentication. For OAuth (
ClientSecretOAuthProvider
), I believe it is also necessary to setauthority_host
toauthority_hosts::AZURE_GOVERNMENT
in order for thetoken_url
to be correct.Without this setting, I am currently getting this error
"AADSTS900382: Confidential Client is not supported in Cross Cloud request.
I understand it is possible to override usingMicrosoftAzureBuilder::with_authority_host()
, however I am using delta-rs which requires that all configuration is provided thoughstorage_options
with keys defined in AzureConfigKey. This currently does not allow settingAuthorityHost
.Does that sound correct? If so, is it possible to expose
AuthorityHost
throughAzureConfigKey
?Additional context
I have only tried in Python using delta-rs. I am going to attempt to use arrow-rs directly in order to verify that setting
AuthorityHost
does indeed resolve the error mentioned above. I am a Rust beginner so it may take some effort.The text was updated successfully, but these errors were encountered: