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

acosentino pushed a commit to branch 2345-con
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit 83d3b4512afedfaa58a55091bb7afac68a7aa994
Author: Andrea Cosentino <anco...@gmail.com>
AuthorDate: Mon Jan 27 10:33:36 2025 +0100

    Kamelets Catalog - Make the description a one liner - AWS SES Sink
    
    Signed-off-by: Andrea Cosentino <anco...@gmail.com>
---
 .../ROOT/partials/aws-ses-sink-description.adoc    | 32 ++++++++++++++++++++++
 kamelets/aws-ses-sink.kamelet.yaml                 | 16 +----------
 .../resources/kamelets/aws-ses-sink.kamelet.yaml   | 16 +----------
 3 files changed, 34 insertions(+), 30 deletions(-)

diff --git a/docs/modules/ROOT/partials/aws-ses-sink-description.adoc 
b/docs/modules/ROOT/partials/aws-ses-sink-description.adoc
new file mode 100644
index 00000000..42bdfbf4
--- /dev/null
+++ b/docs/modules/ROOT/partials/aws-ses-sink-description.adoc
@@ -0,0 +1,32 @@
+== AWS SES Sink Kamelet Description
+
+=== Authentication methods
+
+In this Kamelet you have the possibility of avoiding the usage of explicit 
static credentials by specifying the useDefaultCredentialsProvider option and 
set it to true.
+
+The order of evaluation for Default Credentials Provider is the following:
+
+ - Java system properties - `aws.accessKeyId` and `aws.secretKey`.
+ - Environment variables - `AWS_ACCESS_KEY_ID` and `AWS_SECRET_ACCESS_KEY`.
+ - Web Identity Token from AWS STS.
+ - The shared credentials and config files.
+ - Amazon ECS container credentials - loaded from the Amazon ECS if the 
environment variable `AWS_CONTAINER_CREDENTIALS_RELATIVE_URI` is set.
+ - Amazon EC2 Instance profile credentials. 
+ 
+You have also the possibility of using Profile Credentials Provider, by 
specifying the useProfileCredentialsProvider option to true and 
profileCredentialsName to the profile name.
+
+Only one of access key/secret key or default credentials provider could be used
+
+For more information about this you can look at 
https://docs.aws.amazon.com/sdk-for-java/latest/developer-guide/credentials.html[AWS
 credentials documentation]
+
+=== Required Headers
+
+In the headers, you can optionally set the following properties:
+      
+- `subject` / `ce-subject` property to specify the email subject. If you do 
not set this property in the header, the Kamelet uses the exchange ID for the 
email subject.
+
+While the following headers are required
+
+- `to` / `ce-to` to provide a comma-separated list of email addresses.
+
+- `reply-to-addresses` / `ce-reply-to-addresses`to provider a comma-separated 
list of reply-to email addresses.
diff --git a/kamelets/aws-ses-sink.kamelet.yaml 
b/kamelets/aws-ses-sink.kamelet.yaml
index 6a5715a4..89c98503 100644
--- a/kamelets/aws-ses-sink.kamelet.yaml
+++ b/kamelets/aws-ses-sink.kamelet.yaml
@@ -31,21 +31,7 @@ metadata:
 spec:
   definition:
     title: "AWS SES Sink"
-    description: |-
-      Send email through the Amazon Simple Email Service (SES).
-
-      The basic authentication method for the SES service is to specify an 
access key and a secret key. These parameters are optional because the Kamelet 
provides a default credentials provider.
-      
-      If you use the default credentials provider, the SES client loads the 
credentials through this provider and doesn't use the basic authentication 
method.
-      
-      In the header, you can optionally set the following properties:
-      
-      - `subject` / `ce-subject` property to specify the email subject. If you 
do not set this property in the header, the Kamelet uses the exchange ID for 
the email subject.
-
-      - `to` / `ce-to` to provide a comma-separated list of email addresses.
-
-      - `reply-to-addresses` / `ce-reply-to-addresses`to provider a 
comma-separated list of reply-to email addresses.
-
+    description: Send email through the Amazon Simple Email Service (SES).
     required:
       - from
       - region
diff --git 
a/library/camel-kamelets/src/main/resources/kamelets/aws-ses-sink.kamelet.yaml 
b/library/camel-kamelets/src/main/resources/kamelets/aws-ses-sink.kamelet.yaml
index 6a5715a4..89c98503 100644
--- 
a/library/camel-kamelets/src/main/resources/kamelets/aws-ses-sink.kamelet.yaml
+++ 
b/library/camel-kamelets/src/main/resources/kamelets/aws-ses-sink.kamelet.yaml
@@ -31,21 +31,7 @@ metadata:
 spec:
   definition:
     title: "AWS SES Sink"
-    description: |-
-      Send email through the Amazon Simple Email Service (SES).
-
-      The basic authentication method for the SES service is to specify an 
access key and a secret key. These parameters are optional because the Kamelet 
provides a default credentials provider.
-      
-      If you use the default credentials provider, the SES client loads the 
credentials through this provider and doesn't use the basic authentication 
method.
-      
-      In the header, you can optionally set the following properties:
-      
-      - `subject` / `ce-subject` property to specify the email subject. If you 
do not set this property in the header, the Kamelet uses the exchange ID for 
the email subject.
-
-      - `to` / `ce-to` to provide a comma-separated list of email addresses.
-
-      - `reply-to-addresses` / `ce-reply-to-addresses`to provider a 
comma-separated list of reply-to email addresses.
-
+    description: Send email through the Amazon Simple Email Service (SES).
     required:
       - from
       - region

Reply via email to