This is an automated email from the ASF dual-hosted git repository.

mbrobbel 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 06d02d5  Allow "application_credentials" in `impl FromStr for 
GoogleConfigKey` (#467)
06d02d5 is described below

commit 06d02d589456dbe98f853263edb10c202fc97b82
Author: Kyle Barron <[email protected]>
AuthorDate: Wed Aug 27 08:31:56 2025 -0400

    Allow "application_credentials" in `impl FromStr for GoogleConfigKey` (#467)
---
 src/gcp/builder.rs | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/gcp/builder.rs b/src/gcp/builder.rs
index f7607ee..f22d66d 100644
--- a/src/gcp/builder.rs
+++ b/src/gcp/builder.rs
@@ -195,7 +195,9 @@ impl FromStr for GoogleConfigKey {
             | "service_account_path" => Ok(Self::ServiceAccount),
             "google_service_account_key" | "service_account_key" => 
Ok(Self::ServiceAccountKey),
             "google_bucket" | "google_bucket_name" | "bucket" | "bucket_name" 
=> Ok(Self::Bucket),
-            "google_application_credentials" => 
Ok(Self::ApplicationCredentials),
+            "google_application_credentials" | "application_credentials" => {
+                Ok(Self::ApplicationCredentials)
+            }
             "google_skip_signature" | "skip_signature" => 
Ok(Self::SkipSignature),
             _ => match s.strip_prefix("google_").unwrap_or(s).parse() {
                 Ok(key) => Ok(Self::Client(key)),

Reply via email to