-
Notifications
You must be signed in to change notification settings - Fork 824
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add util function for gcp sign url * add string to sign and other sign functions * add GoogleCloudStorageConfig::new and config and move functions to client * add more code and rearrange struct * add client_email for credential and return the signed url * clean some code * add client email for AuthorizedUserCredentials * tidy some code * format doc * Add GcpSigningCredentialProvider for getting email * add test * Move some functions which shared by aws and gcp to utils. * fix some bug and make it can get proper result * remoe useless code * tidy some code * do not export host * add sign_by_key * Cleanup * Add ServiceAccountKey * Further tweaks * add more scope for signing. * tidy * Tweak and add test * Retry and handle errors for signBlob --------- Co-authored-by: Raphael Taylor-Davies <r.taylordavies@googlemail.com>
- Loading branch information
Showing
7 changed files
with
677 additions
and
81 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
Oops, something went wrong.