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-spring-boot.git

commit 9ebc2eca2ee53fe713941c6b6c1a1caad037ece7
Author: Claus Ibsen <claus.ib...@gmail.com>
AuthorDate: Wed Jun 2 07:16:02 2021 +0200

    Regen
---
 .../catalog/components/aws-secrets-manager.json           |  2 ++
 .../src/main/docs/aws-secrets-manager-starter.adoc        |  5 ++---
 .../springboot/SecretsManagerComponentConfiguration.java  | 15 +++++++++++++++
 docs/modules/ROOT/pages/aws-secrets-manager-starter.adoc  |  5 ++---
 4 files changed, 21 insertions(+), 6 deletions(-)

diff --git 
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/aws-secrets-manager.json
 
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/aws-secrets-manager.json
index 6dbf3cd..57f0401 100644
--- 
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/aws-secrets-manager.json
+++ 
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/aws-secrets-manager.json
@@ -35,6 +35,7 @@
     "secretsManagerClient": { "kind": "property", "displayName": "Secrets 
Manager Client", "group": "producer", "label": "", "required": false, "type": 
"object", "javaType": 
"software.amazon.awssdk.services.secretsmanager.SecretsManagerClient", 
"deprecated": false, "deprecationNote": "", "autowired": true, "secret": false, 
"configurationClass": 
"org.apache.camel.component.aws.secretsmanager.SecretsManagerConfiguration", 
"configurationField": "configuration", "description": "To use a exis [...]
     "trustAllCertificates": { "kind": "property", "displayName": "Trust All 
Certificates", "group": "producer", "label": "", "required": false, "type": 
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": false, "configurationClass": 
"org.apache.camel.component.aws.secretsmanager.SecretsManagerConfiguration", 
"configurationField": "configuration", "description": "If we want to trust all 
certificates in case of overriding the endpoint" },
     "uriEndpointOverride": { "kind": "property", "displayName": "Uri Endpoint 
Override", "group": "producer", "label": "", "required": false, "type": 
"string", "javaType": "java.lang.String", "deprecated": false, "autowired": 
false, "secret": false, "configurationClass": 
"org.apache.camel.component.aws.secretsmanager.SecretsManagerConfiguration", 
"configurationField": "configuration", "description": "Set the overriding uri 
endpoint. This option needs to be used in combination with overri [...]
+    "useDefaultCredentialsProvider": { "kind": "property", "displayName": "Use 
Default Credentials Provider", "group": "producer", "label": "", "required": 
false, "type": "boolean", "javaType": "boolean", "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": false, 
"configurationClass": 
"org.apache.camel.component.aws.secretsmanager.SecretsManagerConfiguration", 
"configurationField": "configuration", "description": "Set whether the 
Translate client should expect to lo [...]
     "autowiredEnabled": { "kind": "property", "displayName": "Autowired 
Enabled", "group": "advanced", "label": "advanced", "required": false, "type": 
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": true, "description": "Whether autowiring is 
enabled. This is used for automatic autowiring options (the option must be 
marked as autowired) by looking up in the registry to find if there is a single 
instance of matching type, which t [...]
     "accessKey": { "kind": "property", "displayName": "Access Key", "group": 
"security", "label": "security", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "autowired": false, 
"secret": true, "configurationClass": 
"org.apache.camel.component.aws.secretsmanager.SecretsManagerConfiguration", 
"configurationField": "configuration", "description": "Amazon AWS Access Key" },
     "secretKey": { "kind": "property", "displayName": "Secret Key", "group": 
"security", "label": "security", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "autowired": false, 
"secret": true, "configurationClass": 
"org.apache.camel.component.aws.secretsmanager.SecretsManagerConfiguration", 
"configurationField": "configuration", "description": "Amazon AWS Secret Key" }
@@ -53,6 +54,7 @@
     "secretsManagerClient": { "kind": "parameter", "displayName": "Secrets 
Manager Client", "group": "producer", "label": "", "required": false, "type": 
"object", "javaType": 
"software.amazon.awssdk.services.secretsmanager.SecretsManagerClient", 
"deprecated": false, "deprecationNote": "", "autowired": true, "secret": false, 
"configurationClass": 
"org.apache.camel.component.aws.secretsmanager.SecretsManagerConfiguration", 
"configurationField": "configuration", "description": "To use a exi [...]
     "trustAllCertificates": { "kind": "parameter", "displayName": "Trust All 
Certificates", "group": "producer", "label": "", "required": false, "type": 
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": false, "configurationClass": 
"org.apache.camel.component.aws.secretsmanager.SecretsManagerConfiguration", 
"configurationField": "configuration", "description": "If we want to trust all 
certificates in case of overriding the endpoint" },
     "uriEndpointOverride": { "kind": "parameter", "displayName": "Uri Endpoint 
Override", "group": "producer", "label": "", "required": false, "type": 
"string", "javaType": "java.lang.String", "deprecated": false, "autowired": 
false, "secret": false, "configurationClass": 
"org.apache.camel.component.aws.secretsmanager.SecretsManagerConfiguration", 
"configurationField": "configuration", "description": "Set the overriding uri 
endpoint. This option needs to be used in combination with overr [...]
+    "useDefaultCredentialsProvider": { "kind": "parameter", "displayName": 
"Use Default Credentials Provider", "group": "producer", "label": "", 
"required": false, "type": "boolean", "javaType": "boolean", "deprecated": 
false, "autowired": false, "secret": false, "defaultValue": false, 
"configurationClass": 
"org.apache.camel.component.aws.secretsmanager.SecretsManagerConfiguration", 
"configurationField": "configuration", "description": "Set whether the 
Translate client should expect to l [...]
     "accessKey": { "kind": "parameter", "displayName": "Access Key", "group": 
"security", "label": "security", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "autowired": false, 
"secret": true, "configurationClass": 
"org.apache.camel.component.aws.secretsmanager.SecretsManagerConfiguration", 
"configurationField": "configuration", "description": "Amazon AWS Access Key" },
     "secretKey": { "kind": "parameter", "displayName": "Secret Key", "group": 
"security", "label": "security", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "autowired": false, 
"secret": true, "configurationClass": 
"org.apache.camel.component.aws.secretsmanager.SecretsManagerConfiguration", 
"configurationField": "configuration", "description": "Amazon AWS Secret Key" }
   }
diff --git 
a/components-starter/camel-aws-secrets-manager-starter/src/main/docs/aws-secrets-manager-starter.adoc
 
b/components-starter/camel-aws-secrets-manager-starter/src/main/docs/aws-secrets-manager-starter.adoc
index 928c10e..2746dc8 100644
--- 
a/components-starter/camel-aws-secrets-manager-starter/src/main/docs/aws-secrets-manager-starter.adoc
+++ 
b/components-starter/camel-aws-secrets-manager-starter/src/main/docs/aws-secrets-manager-starter.adoc
@@ -17,7 +17,7 @@ When using aws-secrets-manager with Spring Boot make sure to 
use the following M
 ----
 
 
-The component supports 17 options, which are listed below.
+The component supports 18 options, which are listed below.
 
 
 
@@ -41,7 +41,6 @@ The component supports 17 options, which are listed below.
 | *camel.component.aws-secrets-manager.secrets-manager-client* | To use a 
existing configured AWS Secrets Manager as client. The option is a 
software.amazon.awssdk.services.secretsmanager.SecretsManagerClient type. |  | 
SecretsManagerClient
 | *camel.component.aws-secrets-manager.trust-all-certificates* | If we want to 
trust all certificates in case of overriding the endpoint | false | Boolean
 | *camel.component.aws-secrets-manager.uri-endpoint-override* | Set the 
overriding uri endpoint. This option needs to be used in combination with 
overrideEndpoint option |  | String
+| *camel.component.aws-secrets-manager.use-default-credentials-provider* | Set 
whether the Translate client should expect to load credentials through a 
default credentials provider or to expect static credentials to be passed in. | 
false | Boolean
 |===
-
-
 // spring-boot-auto-configure options: END
diff --git 
a/components-starter/camel-aws-secrets-manager-starter/src/main/java/org/apache/camel/component/aws/secretsmanager/springboot/SecretsManagerComponentConfiguration.java
 
b/components-starter/camel-aws-secrets-manager-starter/src/main/java/org/apache/camel/component/aws/secretsmanager/springboot/SecretsManagerComponentConfiguration.java
index 8cf3fd3..d3119ab 100644
--- 
a/components-starter/camel-aws-secrets-manager-starter/src/main/java/org/apache/camel/component/aws/secretsmanager/springboot/SecretsManagerComponentConfiguration.java
+++ 
b/components-starter/camel-aws-secrets-manager-starter/src/main/java/org/apache/camel/component/aws/secretsmanager/springboot/SecretsManagerComponentConfiguration.java
@@ -109,6 +109,12 @@ public class SecretsManagerComponentConfiguration
      */
     private String uriEndpointOverride;
     /**
+     * Set whether the Translate client should expect to load credentials
+     * through a default credentials provider or to expect static credentials 
to
+     * be passed in.
+     */
+    private Boolean useDefaultCredentialsProvider = false;
+    /**
      * Whether autowiring is enabled. This is used for automatic autowiring
      * options (the option must be marked as autowired) by looking up in the
      * registry to find if there is a single instance of matching type, which
@@ -231,6 +237,15 @@ public class SecretsManagerComponentConfiguration
         this.uriEndpointOverride = uriEndpointOverride;
     }
 
+    public Boolean getUseDefaultCredentialsProvider() {
+        return useDefaultCredentialsProvider;
+    }
+
+    public void setUseDefaultCredentialsProvider(
+            Boolean useDefaultCredentialsProvider) {
+        this.useDefaultCredentialsProvider = useDefaultCredentialsProvider;
+    }
+
     public Boolean getAutowiredEnabled() {
         return autowiredEnabled;
     }
diff --git a/docs/modules/ROOT/pages/aws-secrets-manager-starter.adoc 
b/docs/modules/ROOT/pages/aws-secrets-manager-starter.adoc
index 928c10e..2746dc8 100644
--- a/docs/modules/ROOT/pages/aws-secrets-manager-starter.adoc
+++ b/docs/modules/ROOT/pages/aws-secrets-manager-starter.adoc
@@ -17,7 +17,7 @@ When using aws-secrets-manager with Spring Boot make sure to 
use the following M
 ----
 
 
-The component supports 17 options, which are listed below.
+The component supports 18 options, which are listed below.
 
 
 
@@ -41,7 +41,6 @@ The component supports 17 options, which are listed below.
 | *camel.component.aws-secrets-manager.secrets-manager-client* | To use a 
existing configured AWS Secrets Manager as client. The option is a 
software.amazon.awssdk.services.secretsmanager.SecretsManagerClient type. |  | 
SecretsManagerClient
 | *camel.component.aws-secrets-manager.trust-all-certificates* | If we want to 
trust all certificates in case of overriding the endpoint | false | Boolean
 | *camel.component.aws-secrets-manager.uri-endpoint-override* | Set the 
overriding uri endpoint. This option needs to be used in combination with 
overrideEndpoint option |  | String
+| *camel.component.aws-secrets-manager.use-default-credentials-provider* | Set 
whether the Translate client should expect to load credentials through a 
default credentials provider or to expect static credentials to be passed in. | 
false | Boolean
 |===
-
-
 // spring-boot-auto-configure options: END

Reply via email to