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 2018/01/15 10:18:02 UTC

[camel] 02/07: Camel-AWS SES: secretKey and accessKey are secret

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

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

commit 05ea5c109bfb2ab1f16e742f59db192b7e94914e
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Jan 15 10:54:28 2018 +0100

    Camel-AWS SES: secretKey and accessKey are secret
---
 .../java/org/apache/camel/component/aws/ses/SesConfiguration.java    | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/components/camel-aws/src/main/java/org/apache/camel/component/aws/ses/SesConfiguration.java b/components/camel-aws/src/main/java/org/apache/camel/component/aws/ses/SesConfiguration.java
index fac1dd8..3616b69 100644
--- a/components/camel-aws/src/main/java/org/apache/camel/component/aws/ses/SesConfiguration.java
+++ b/components/camel-aws/src/main/java/org/apache/camel/component/aws/ses/SesConfiguration.java
@@ -22,7 +22,6 @@ import java.util.List;
 import com.amazonaws.services.simpleemail.AmazonSimpleEmailService;
 
 import org.apache.camel.RuntimeCamelException;
-import org.apache.camel.component.aws.s3.S3Configuration;
 import org.apache.camel.spi.Metadata;
 import org.apache.camel.spi.UriParam;
 import org.apache.camel.spi.UriParams;
@@ -35,9 +34,9 @@ public class SesConfiguration implements Cloneable {
     private String from;
     @UriParam
     private AmazonSimpleEmailService amazonSESClient;
-    @UriParam
+    @UriParam(label = "security", secret = true)
     private String accessKey;
-    @UriParam
+    @UriParam(label = "security", secret = true)
     private String secretKey;
     @UriParam
     private String amazonSESEndpoint;

-- 
To stop receiving notification emails like this one, please contact
"commits@camel.apache.org" <co...@camel.apache.org>.