This is an automated email from the ASF dual-hosted git repository.
tustvold pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-rs-object-store.git
The following commit(s) were added to refs/heads/main by this push:
new 196c471 Add `with_signing_credentials` to GCP builder (#699)
196c471 is described below
commit 196c4719cf9b30d24f1ef25987c8199b021d2f22
Author: Ilya Zlobintsev <[email protected]>
AuthorDate: Tue Jun 2 12:28:57 2026 +0300
Add `with_signing_credentials` to GCP builder (#699)
---
src/gcp/builder.rs | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/src/gcp/builder.rs b/src/gcp/builder.rs
index ece16ec..9db6ea5 100644
--- a/src/gcp/builder.rs
+++ b/src/gcp/builder.rs
@@ -459,6 +459,12 @@ impl GoogleCloudStorageBuilder {
self
}
+ /// Set the signing credential provider overriding any other options
+ pub fn with_signing_credentials(mut self, credentials:
GcpSigningCredentialProvider) -> Self {
+ self.signing_credentials = Some(credentials);
+ self
+ }
+
/// Set the retry configuration
pub fn with_retry(mut self, retry_config: RetryConfig) -> Self {
self.retry_config = retry_config;