-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GrpcRemoteDownloader: optionally propagate credentials to remote server
In a multi-tenancy server deployment setup, the clients might want to treat the remote downloader server as a pull through proxy and use it to download from private storage systems. Currently, we do support it via --remote_downloader_headers. However this scheme does not apply to the specific URL, while credentials and authentication could sometimes be host/domain specific. Add a flag to let users opt-in to credentials propagation to remote server. This is off by default as not all remote server could be trusted. When the flag is enabled, url-specific credentials from netrc or a custom credentials helper can be propagate to the remote server. The server implementation needs to support the new `http_header_url:<url-index>:<header-key>` qualifier where the `url-index` is a 0-based position of the url inside the FetchBlobRequest's uris field. This new qualifier is modeled after the existing `http_header` qualifier.
- Loading branch information
Showing
3 changed files
with
46 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters