Open robin-wayve opened 2 years ago
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 (@bazelbuild/triage
) if you think this issue is still relevant or you are interested in getting the issue resolved.
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 https://github.com/bazelbuild/bazel/pull/18429).
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.