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 2025/01/13 11:04:13 UTC
(camel-kamelets) 01/06: Kamelets Catalog - Make the description a one liner - AWS Bedrock Agent Runtime
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-kamelets.git
commit 9d356ebe423d056ae452b1a833bc36f5f1acd169
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Jan 13 10:41:19 2025 +0100
Kamelets Catalog - Make the description a one liner - AWS Bedrock Agent Runtime
Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
.../aws-bedrock-agent-runtime-sink-description.adoc | 20 ++++++++++++++++++++
kamelets/aws-bedrock-agent-runtime-sink.kamelet.yaml | 7 +------
.../aws-bedrock-agent-runtime-sink.kamelet.yaml | 7 +------
3 files changed, 22 insertions(+), 12 deletions(-)
diff --git a/docs/modules/ROOT/partials/aws-bedrock-agent-runtime-sink-description.adoc b/docs/modules/ROOT/partials/aws-bedrock-agent-runtime-sink-description.adoc
new file mode 100644
index 00000000..696f58e6
--- /dev/null
+++ b/docs/modules/ROOT/partials/aws-bedrock-agent-runtime-sink-description.adoc
@@ -0,0 +1,20 @@
+== AWS Bedrock Agent Runtime 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]
diff --git a/kamelets/aws-bedrock-agent-runtime-sink.kamelet.yaml b/kamelets/aws-bedrock-agent-runtime-sink.kamelet.yaml
index 343f4ae8..729396ec 100644
--- a/kamelets/aws-bedrock-agent-runtime-sink.kamelet.yaml
+++ b/kamelets/aws-bedrock-agent-runtime-sink.kamelet.yaml
@@ -31,12 +31,7 @@ metadata:
spec:
definition:
title: "AWS Bedrock Agent Runtime Sink"
- description: |-
- Send data for invoking a knowledge base from AWS Bedrock.
-
- The basic authentication method for the Bedrock 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 Bedrock client loads the credentials through this provider and doesn't use the basic authentication method.
+ description: Send data for invoking a knowledge base from AWS Bedrock.
required:
- modelId
- knowledgeBaseId
diff --git a/library/camel-kamelets/src/main/resources/kamelets/aws-bedrock-agent-runtime-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/aws-bedrock-agent-runtime-sink.kamelet.yaml
index 343f4ae8..729396ec 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/aws-bedrock-agent-runtime-sink.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/aws-bedrock-agent-runtime-sink.kamelet.yaml
@@ -31,12 +31,7 @@ metadata:
spec:
definition:
title: "AWS Bedrock Agent Runtime Sink"
- description: |-
- Send data for invoking a knowledge base from AWS Bedrock.
-
- The basic authentication method for the Bedrock 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 Bedrock client loads the credentials through this provider and doesn't use the basic authentication method.
+ description: Send data for invoking a knowledge base from AWS Bedrock.
required:
- modelId
- knowledgeBaseId