Is there a way to provide auth for an HTTPStore? #455
Answered
by
kylebarron
chuckwondo
asked this question in
Q&A
-
In perusing the code, there appears to be no way to use an HTTPStore when auth is required, but perhaps I'm missing something, so I'm asking here before opening an enhancement request. Is there a way to do so that I'm not seeing? |
Beta Was this translation helpful? Give feedback.
Answered by
kylebarron
May 20, 2025
Replies: 1 comment 7 replies
-
No there isn't. What are you looking to do? Obstore doesn't intend to be a generic HTTP client and so it doesn't expose all the custom http headers that you might want to use for auth. Is there a webdav-like store that you're trying to work with that's behind authentication? |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Are we talking about credential providers still? When would you have S3 URLs in a credential provider?
But yes, for arbitrary HTTP APIs that do not represent a webdav store, you should be using something else, like requests.
(fwiw this is the idea of obspec, so downstream libraries can have a generic protocol and then users can choose between the obstore implementation or a generic HTTP client implementation)