You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2022/03/02 12:45:16 UTC

[camel] 02/02: CAMEL-17732 - Secrets Manager Properties Sources: if default value is provided, we should not fail with wrong credentials - GCP Secret Manager

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 <an...@gmail.com>
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");
         }
     }