kou commented on code in PR #41276:
URL: https://github.com/apache/arrow/pull/41276#discussion_r1570156547
##########
cpp/src/arrow/filesystem/azurefs.cc:
##########
@@ -381,6 +388,24 @@ AzureOptions::MakeDataLakeServiceClient() const {
return Status::Invalid("AzureOptions doesn't contain a valid auth
configuration");
}
+Result<std::string> AzureOptions::GenerateSASToken(
+ Storage::Sas::BlobSasBuilder* builder) const {
+ if (storage_shared_key_credential_) {
+ return builder->GenerateSasToken(*storage_shared_key_credential_);
+ } else {
+ // This part isn't tested. This may not work.
Review Comment:
@Tom-Newton It seems that we can't use `GetUserDelegationKey()` with account
key credential. We may need to other authentication to test
`GetUserDelegationKey()`. Do you know how to configure other authentication...?
(I think that we can defer this case to a separated issue.)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]