-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
http_file
and http_archive
can't make authenticated calls to Azure storage
#14372
Comments
This is a must have for companies relying on Azure for their cloud services (and can probably be used for other things as well). |
Thank you for contributing to the Bazel repository! This issue has been marked as stale since it has not had any activity in the last 1+ years. It will be closed in the next 14 days unless any other activity occurs or one of the following labels is added: "not stale", "awaiting-bazeler". Please reach out to the triage team ( |
You should be able to use a credential helper to do this. |
So this closes with the 6.3.0 release? |
Yes, 6.3.0 will be the first release to support this (it was cherry picked in #18429). |
Thank you for contributing to the Bazel repository! This issue has been marked as stale since it has not had any activity in the last 1+ years. It will be closed in the next 90 days unless any other activity occurs. If you think this issue is still relevant and should stay open, please post any comment here and the issue will no longer be marked as stale. |
Description of the problem / feature request:
Allow extra request headers to be passed to
http_archive
/http_file
Feature requests: what underlying problem are you trying to solve with this feature?
In order to download files from private Azure Storage, clients need to provide an OAuth2 token (which can be done via
auth_patterns
and anetrc
file) and additionally set anx-ms-version
header.Docs: https://docs.microsoft.com/en-us/rest/api/storageservices/authorize-with-azure-active-directory
What operating system are you running Bazel on?
Ubuntu Linux 18.04
What's the output of
bazel info release
?release 4.2.1
Have you found anything relevant by searching the web?
We checked if this might be possible through bazel-skylib or
repository_ctx.download(_and_extract)
but it does not seem so.The text was updated successfully, but these errors were encountered: