Replies: 1 comment 1 reply
-
Hi @Rob-DL, Just checked it out in the underlying object store crate. Turns out there is a bug, and it tries to use the token as an access key to create a signature, which is not the intended usage. Good news is that's a straight forward fix and I hope to contribute some other things. there soon as well and will also take care of that fix then. Do you mind opening a issue in this repo here to keep track of it? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to access a delta lake that's on an Azure Blob store. For security reasons the only authentication method I can use is the bearer token. I'm trying to read the table using the following python code.
But when I run this I'm greeted with the following panic from the underlaying rust code:
The problem seems to be with that the token isn't valid base64, which is technically true as these Azure generated tokens aren't padded correctly. But even after correcting for this I keep getting the same error. I generated several tokens trough the azure cli using the command below, but they all result in the same error.
az account get-access-token --resource https://myproject.blob.core.windows
Is this a bug, or am I misunderstanding the BEARER_TOKEN authentication option of delta-rs? I couldn't find anything in the documentation. Perhaps somebody could add more examples on how to properly use this?
Beta Was this translation helpful? Give feedback.
All reactions