-
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 the remote server. This is off by default as not all remote servers can be trusted. When the flag is enabled, URL-specific credentials from Netrc or a custom credentials helper can be propagated 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
4 changed files
with
136 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
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