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

acosentino pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 60f4c4f723848a97cc1eec4b21665072bc898d84
Author: Andrea Cosentino <[email protected]>
AuthorDate: Wed Mar 2 13:40:23 2022 +0100

    CAMEL-17732 - Secrets Manager Properties Sources: if default value is 
provided, we should not fail with wrong credentials - GCP Secret Manager
---
 .../google/secret/manager/GoogleSecretManagerPropertiesFunction.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/components/camel-google/camel-google-secret-manager/src/main/java/org/apache/camel/component/google/secret/manager/GoogleSecretManagerPropertiesFunction.java
 
b/components/camel-google/camel-google-secret-manager/src/main/java/org/apache/camel/component/google/secret/manager/GoogleSecretManagerPropertiesFunction.java
index e7010e8..e562cfa 100644
--- 
a/components/camel-google/camel-google-secret-manager/src/main/java/org/apache/camel/component/google/secret/manager/GoogleSecretManagerPropertiesFunction.java
+++ 
b/components/camel-google/camel-google-secret-manager/src/main/java/org/apache/camel/component/google/secret/manager/GoogleSecretManagerPropertiesFunction.java
@@ -101,7 +101,7 @@ public class GoogleSecretManagerPropertiesFunction extends 
ServiceSupport implem
             client = SecretManagerServiceClient.create(settings);
         } else {
             throw new RuntimeCamelException(
-                    "Using the AWS Secrets Manager Properties Function 
requires setting AWS credentials as application properties or environment 
variables");
+                    "Using the GCP Secret Manager Properties Function requires 
setting GCP service account key and project Id as application properties or 
environment variables");
         }
     }
 

Reply via email to