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

acosentino pushed a commit to branch camel-spring-boot-3.x
in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git


The following commit(s) were added to refs/heads/camel-spring-boot-3.x by this 
push:
     new bbeec442a74 [create-pull-request] automated change
bbeec442a74 is described below

commit bbeec442a746de4a1864f17a9bdc00625d9218a2
Author: orpiske <orpi...@users.noreply.github.com>
AuthorDate: Sun May 7 01:12:57 2023 +0000

    [create-pull-request] automated change
---
 .../org/apache/camel/springboot/catalog/components/as2.json |  4 +++-
 .../camel/springboot/catalog/components/azure-cosmosdb.json |  6 ++++--
 .../org/apache/camel/springboot/catalog/components/jpa.json |  5 ++++-
 .../src/main/docs/azure-cosmosdb.json                       |  7 +++++++
 .../cosmosdb/springboot/CosmosDbComponentConfiguration.java | 13 +++++++++++++
 5 files changed, 31 insertions(+), 4 deletions(-)

diff --git 
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/as2.json
 
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/as2.json
index 69249337ec3..ed92465ed7c 100644
--- 
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/as2.json
+++ 
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/as2.json
@@ -43,6 +43,7 @@
     "ediMessageTransferEncoding": { "kind": "parameter", "displayName": "Edi 
Message Transfer Encoding", "group": "common", "label": "", "required": false, 
"type": "string", "javaType": "java.lang.String", "deprecated": false, 
"autowired": false, "secret": false, "configurationClass": 
"org.apache.camel.component.as2.AS2Configuration", "configurationField": 
"configuration", "description": "The transfer encoding of EDI message." },
     "ediMessageType": { "kind": "parameter", "displayName": "Edi Message 
Type", "group": "common", "label": "", "required": false, "type": "object", 
"javaType": "org.apache.http.entity.ContentType", "deprecated": false, 
"autowired": false, "secret": false, "configurationClass": 
"org.apache.camel.component.as2.AS2Configuration", "configurationField": 
"configuration", "description": "The content type of EDI message. One of 
application\/edifact, application\/edi-x12, application\/edi-consent" },
     "from": { "kind": "parameter", "displayName": "From", "group": "common", 
"label": "", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"configurationClass": "org.apache.camel.component.as2.AS2Configuration", 
"configurationField": "configuration", "description": "The value of the From 
header of AS2 message." },
+    "hostnameVerifier": { "kind": "parameter", "displayName": "Hostname 
Verifier", "group": "common", "label": "", "required": false, "type": "object", 
"javaType": "javax.net.ssl.HostnameVerifier", "deprecated": false, "autowired": 
false, "secret": false, "configurationClass": 
"org.apache.camel.component.as2.AS2Configuration", "configurationField": 
"configuration", "description": "Set hostname verifier for SSL session." },
     "httpConnectionPoolSize": { "kind": "parameter", "displayName": "Http 
Connection Pool Size", "group": "common", "label": "", "required": false, 
"type": "integer", "javaType": "java.lang.Integer", "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": "5", "configurationClass": 
"org.apache.camel.component.as2.AS2Configuration", "configurationField": 
"configuration", "description": "The maximum size of the connection pool for 
http connections (client only)" },
     "httpConnectionPoolTtl": { "kind": "parameter", "displayName": "Http 
Connection Pool Ttl", "group": "common", "label": "", "required": false, 
"type": "object", "javaType": "java.time.Duration", "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": "15m", 
"configurationClass": "org.apache.camel.component.as2.AS2Configuration", 
"configurationField": "configuration", "description": "The time to live for 
connections in the connection pool (client only)" },
     "httpConnectionTimeout": { "kind": "parameter", "displayName": "Http 
Connection Timeout", "group": "common", "label": "", "required": false, "type": 
"object", "javaType": "java.time.Duration", "deprecated": false, "autowired": 
false, "secret": false, "defaultValue": "5s", "configurationClass": 
"org.apache.camel.component.as2.AS2Configuration", "configurationField": 
"configuration", "description": "The timeout of the http connection (client 
only)" },
@@ -53,6 +54,7 @@
     "server": { "kind": "parameter", "displayName": "Server", "group": 
"common", "label": "", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": "Camel AS2 Server Endpoint", "configurationClass": 
"org.apache.camel.component.as2.AS2Configuration", "configurationField": 
"configuration", "description": "The value included in the Server message 
header identifying the AS2 Server." },
     "serverFqdn": { "kind": "parameter", "displayName": "Server Fqdn", 
"group": "common", "label": "", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": "camel.apache.org", "configurationClass": 
"org.apache.camel.component.as2.AS2Configuration", "configurationField": 
"configuration", "description": "The Server Fully Qualified Domain Name (FQDN). 
Used in message ids sent by endpoint." },
     "serverPortNumber": { "kind": "parameter", "displayName": "Server Port 
Number", "group": "common", "label": "", "required": false, "type": "integer", 
"javaType": "java.lang.Integer", "deprecated": false, "autowired": false, 
"secret": false, "configurationClass": 
"org.apache.camel.component.as2.AS2Configuration", "configurationField": 
"configuration", "description": "The port number of server." },
+    "sslContext": { "kind": "parameter", "displayName": "Ssl Context", 
"group": "common", "label": "", "required": false, "type": "object", 
"javaType": "javax.net.ssl.SSLContext", "deprecated": false, "autowired": 
false, "secret": false, "configurationClass": 
"org.apache.camel.component.as2.AS2Configuration", "configurationField": 
"configuration", "description": "Set SSL context for connection to remote 
server." },
     "subject": { "kind": "parameter", "displayName": "Subject", "group": 
"common", "label": "", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"configurationClass": "org.apache.camel.component.as2.AS2Configuration", 
"configurationField": "configuration", "description": "The value of Subject 
header of AS2 message." },
     "targetHostname": { "kind": "parameter", "displayName": "Target Hostname", 
"group": "common", "label": "", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "autowired": false, 
"secret": false, "configurationClass": 
"org.apache.camel.component.as2.AS2Configuration", "configurationField": 
"configuration", "description": "The host name (IP or DNS name) of target 
host." },
     "targetPortNumber": { "kind": "parameter", "displayName": "Target Port 
Number", "group": "common", "label": "", "required": false, "type": "integer", 
"javaType": "java.lang.Integer", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": "80", "configurationClass": 
"org.apache.camel.component.as2.AS2Configuration", "configurationField": 
"configuration", "description": "The port number of target host. -1 indicates 
the scheme default port." },
@@ -67,7 +69,7 @@
     "signingAlgorithm": { "kind": "parameter", "displayName": "Signing 
Algorithm", "group": "security", "label": "security", "required": false, 
"type": "object", "javaType": 
"org.apache.camel.component.as2.api.AS2SignatureAlgorithm", "enum": [ 
"SHA3_224WITHRSA", "SHA3_256WITHRSA", "SHA3_384withRSA", "SHA3_512WITHRSA", 
"MD5WITHRSA", "SHA1WITHRSA", "MD2WITHRSA", "SHA224WITHRSA", "SHA256WITHRSA", 
"SHA384WITHRSA", "SHA512WITHRSA", "RIPEMD128WITHRSA", "RIPEMD160WITHRSA", 
"RIPEMD256WITHRSA", " [...]
     "signingCertificateChain": { "kind": "parameter", "displayName": "Signing 
Certificate Chain", "group": "security", "label": "security", "required": 
false, "type": "object", "javaType": "java.security.cert.Certificate[]", 
"deprecated": false, "autowired": false, "secret": false, "configurationClass": 
"org.apache.camel.component.as2.AS2Configuration", "configurationField": 
"configuration", "description": "The chain of certificates used to sign EDI 
message." },
     "signingPrivateKey": { "kind": "parameter", "displayName": "Signing 
Private Key", "group": "security", "label": "security", "required": false, 
"type": "object", "javaType": "java.security.PrivateKey", "deprecated": false, 
"autowired": false, "secret": false, "configurationClass": 
"org.apache.camel.component.as2.AS2Configuration", "configurationField": 
"configuration", "description": "The key used to sign the EDI message." },
-    "validateSigningCertificateChain": { "kind": "parameter", "displayName": 
"Validate Signing Certificate Chain", "group": "security", "label": "security", 
"required": false, "type": "object", "javaType": 
"java.security.cert.Certificate[]", "deprecated": false, "autowired": false, 
"secret": false, "configurationClass": 
"org.apache.camel.component.as2.AS2Configuration", "configurationField": 
"configuration", "description": "Certifiates to validate the messages signature 
against. If not s [...]
+    "validateSigningCertificateChain": { "kind": "parameter", "displayName": 
"Validate Signing Certificate Chain", "group": "security", "label": "security", 
"required": false, "type": "object", "javaType": 
"java.security.cert.Certificate[]", "deprecated": false, "autowired": false, 
"secret": false, "configurationClass": 
"org.apache.camel.component.as2.AS2Configuration", "configurationField": 
"configuration", "description": "Certificates to validate the message's 
signature against. If not [...]
   },
   "apis": {
     "client": { "consumerOnly": false, "producerOnly": true, "description": 
"Sends EDI Messages over HTTP", "methods": { "send": { "description": "Send 
ediMessage to trading partner", "signatures": [ 
"org.apache.http.protocol.HttpCoreContext send(String ediMessage, String 
requestUri, String subject, String from, String as2From, String as2To, 
org.apache.camel.component.as2.api.AS2MessageStructure as2MessageStructure, 
org.apache.http.entity.ContentType ediMessageContentType, String ediMess [...]
diff --git 
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/azure-cosmosdb.json
 
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/azure-cosmosdb.json
index e5741a66ab3..d9caeb4b49d 100644
--- 
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/azure-cosmosdb.json
+++ 
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/azure-cosmosdb.json
@@ -50,7 +50,8 @@
     "query": { "kind": "property", "displayName": "Query", "group": 
"producer", "label": "producer", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "autowired": false, 
"secret": false, "configurationClass": 
"org.apache.camel.component.azure.cosmosdb.CosmosDbConfiguration", 
"configurationField": "configuration", "description": "An SQL query to execute 
on a given resources. To learn more about Cosmos SQL API, check this link {link 
https:\/\/docs.m [...]
     "queryRequestOptions": { "kind": "property", "displayName": "Query Request 
Options", "group": "producer", "label": "producer", "required": false, "type": 
"object", "javaType": "com.azure.cosmos.models.CosmosQueryRequestOptions", 
"deprecated": false, "autowired": false, "secret": false, "configurationClass": 
"org.apache.camel.component.azure.cosmosdb.CosmosDbConfiguration", 
"configurationField": "configuration", "description": "Set additional 
QueryRequestOptions that can be used with  [...]
     "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 [...]
-    "accountKey": { "kind": "property", "displayName": "Account Key", "group": 
"security", "label": "security", "required": true, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", 
"autowired": false, "secret": true, "configurationClass": 
"org.apache.camel.component.azure.cosmosdb.CosmosDbConfiguration", 
"configurationField": "configuration", "description": "Sets either a master or 
readonly key used to perform authentication for accessing resource." }
+    "accountKey": { "kind": "property", "displayName": "Account Key", "group": 
"security", "label": "security", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", 
"autowired": false, "secret": true, "configurationClass": 
"org.apache.camel.component.azure.cosmosdb.CosmosDbConfiguration", 
"configurationField": "configuration", "description": "Sets either a master or 
readonly key used to perform authentication for accessing resou [...]
+    "useDefaultIdentity": { "kind": "property", "displayName": "Use Default 
Identity", "group": "security", "label": "security", "required": false, "type": 
"boolean", "javaType": "boolean", "deprecated": false, "deprecationNote": "", 
"autowired": false, "secret": false, "defaultValue": false, 
"configurationClass": 
"org.apache.camel.component.azure.cosmosdb.CosmosDbConfiguration", 
"configurationField": "configuration", "description": "Indicates whether to use 
the default identity mechanis [...]
   },
   "properties": {
     "databaseName": { "kind": "path", "displayName": "Database Name", "group": 
"common", "label": "", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"configurationClass": 
"org.apache.camel.component.azure.cosmosdb.CosmosDbConfiguration", 
"configurationField": "configuration", "description": "The name of the Cosmos 
database that component should connect to. In case you are producing data and 
have createDatabas [...]
@@ -83,6 +84,7 @@
     "query": { "kind": "parameter", "displayName": "Query", "group": 
"producer", "label": "producer", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "autowired": false, 
"secret": false, "configurationClass": 
"org.apache.camel.component.azure.cosmosdb.CosmosDbConfiguration", 
"configurationField": "configuration", "description": "An SQL query to execute 
on a given resources. To learn more about Cosmos SQL API, check this link {link 
https:\/\/docs. [...]
     "queryRequestOptions": { "kind": "parameter", "displayName": "Query 
Request Options", "group": "producer", "label": "producer", "required": false, 
"type": "object", "javaType": 
"com.azure.cosmos.models.CosmosQueryRequestOptions", "deprecated": false, 
"autowired": false, "secret": false, "configurationClass": 
"org.apache.camel.component.azure.cosmosdb.CosmosDbConfiguration", 
"configurationField": "configuration", "description": "Set additional 
QueryRequestOptions that can be used with [...]
     "lazyStartProducer": { "kind": "parameter", "displayName": "Lazy Start 
Producer", "group": "producer (advanced)", "label": "producer,advanced", 
"required": false, "type": "boolean", "javaType": "boolean", "deprecated": 
false, "autowired": false, "secret": false, "defaultValue": false, 
"description": "Whether the producer should be started lazy (on the first 
message). By starting lazy you can use this to allow CamelContext and routes to 
startup in situations where a producer may other [...]
-    "accountKey": { "kind": "parameter", "displayName": "Account Key", 
"group": "security", "label": "security", "required": true, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", 
"autowired": false, "secret": true, "configurationClass": 
"org.apache.camel.component.azure.cosmosdb.CosmosDbConfiguration", 
"configurationField": "configuration", "description": "Sets either a master or 
readonly key used to perform authentication for accessing resource." }
+    "accountKey": { "kind": "parameter", "displayName": "Account Key", 
"group": "security", "label": "security", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", 
"autowired": false, "secret": true, "configurationClass": 
"org.apache.camel.component.azure.cosmosdb.CosmosDbConfiguration", 
"configurationField": "configuration", "description": "Sets either a master or 
readonly key used to perform authentication for accessing reso [...]
+    "useDefaultIdentity": { "kind": "parameter", "displayName": "Use Default 
Identity", "group": "security", "label": "security", "required": false, "type": 
"boolean", "javaType": "boolean", "deprecated": false, "deprecationNote": "", 
"autowired": false, "secret": false, "defaultValue": false, 
"configurationClass": 
"org.apache.camel.component.azure.cosmosdb.CosmosDbConfiguration", 
"configurationField": "configuration", "description": "Indicates whether to use 
the default identity mechani [...]
   }
 }
diff --git 
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/jpa.json
 
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/jpa.json
index f626e318538..066aaae17e5 100644
--- 
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/jpa.json
+++ 
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/jpa.json
@@ -34,7 +34,9 @@
   },
   "headers": {
     "CamelEntityManager": { "kind": "header", "displayName": "", "group": 
"common", "label": "", "required": false, "javaType": 
"javax.persistence.EntityManager", "deprecated": false, "deprecationNote": "", 
"autowired": false, "secret": false, "description": "The JPA EntityManager 
object.", "constantName": 
"org.apache.camel.component.jpa.JpaConstants#ENTITY_MANAGER" },
-    "CamelJpaParameters": { "kind": "header", "displayName": "", "group": 
"producer", "label": "producer", "required": false, "javaType": "Map<String, 
Object>", "deprecated": false, "deprecationNote": "", "autowired": false, 
"secret": false, "description": "Alternative way for passing query parameters 
as an Exchange header.", "constantName": 
"org.apache.camel.component.jpa.JpaConstants#JPA_PARAMETERS_HEADER" }
+    "CamelJpaParameters": { "kind": "header", "displayName": "", "group": 
"producer", "label": "producer", "required": false, "javaType": "Map<String, 
Object>", "deprecated": false, "deprecationNote": "", "autowired": false, 
"secret": false, "description": "Alternative way for passing query parameters 
as an Exchange header.", "constantName": 
"org.apache.camel.component.jpa.JpaConstants#JPA_PARAMETERS_HEADER" },
+    "CamelJpaMaximumResults": { "kind": "header", "displayName": "", "group": 
"producer", "label": "producer", "required": false, "javaType": "", 
"deprecated": false, "deprecationNote": "", "autowired": false, "secret": 
false, "description": "Defines the maximum number of results to retrieve on the 
query; takes precedence over the value set on the endpoint, if any.", 
"constantName": 
"org.apache.camel.component.jpa.JpaConstants#JPA_MAXIMUM_RESULTS" },
+    "CamelJpaFirstResult": { "kind": "header", "displayName": "", "group": 
"producer", "label": "producer", "required": false, "javaType": "", 
"deprecated": false, "deprecationNote": "", "autowired": false, "secret": 
false, "description": "Defines the position of the first result to retrieve; 
takes precedence over the value set on the endpoint, if any.", "constantName": 
"org.apache.camel.component.jpa.JpaConstants#JPA_FIRST_RESULT" }
   },
   "properties": {
     "entityType": { "kind": "path", "displayName": "Entity Type", "group": 
"common", "label": "", "required": true, "type": "string", "javaType": 
"java.lang.Class<java.lang.Object>", "deprecated": false, "deprecationNote": 
"", "autowired": false, "secret": false, "description": "Entity class name" },
@@ -60,6 +62,7 @@
     "parameters": { "kind": "parameter", "displayName": "Parameters", "group": 
"consumer (advanced)", "label": "consumer,advanced", "required": false, "type": 
"object", "javaType": "java.util.Map<java.lang.String, java.lang.Object>", 
"prefix": "parameters.", "multiValue": true, "deprecated": false, "autowired": 
false, "secret": false, "description": "This key\/value mapping is used for 
building the query parameters. It is expected to be of the generic type 
java.util.Map where the keys ar [...]
     "pollStrategy": { "kind": "parameter", "displayName": "Poll Strategy", 
"group": "consumer (advanced)", "label": "consumer,advanced", "required": 
false, "type": "object", "javaType": 
"org.apache.camel.spi.PollingConsumerPollStrategy", "deprecated": false, 
"autowired": false, "secret": false, "description": "A pluggable 
org.apache.camel.PollingConsumerPollingStrategy allowing you to provide your 
custom implementation to control error handling usually occurred during the 
poll operation  [...]
     "findEntity": { "kind": "parameter", "displayName": "Find Entity", 
"group": "producer", "label": "producer", "required": false, "type": "boolean", 
"javaType": "boolean", "deprecated": false, "autowired": false, "secret": 
false, "defaultValue": false, "description": "If enabled then the producer will 
find a single entity by using the message body as key and entityType as the 
class type. This can be used instead of a query to find a single entity." },
+    "firstResult": { "kind": "parameter", "displayName": "First Result", 
"group": "producer", "label": "producer", "required": false, "type": "integer", 
"javaType": "int", "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": -1, "description": "Set the position of the first result to 
retrieve." },
     "flushOnSend": { "kind": "parameter", "displayName": "Flush On Send", 
"group": "producer", "label": "producer", "required": false, "type": "boolean", 
"javaType": "boolean", "deprecated": false, "autowired": false, "secret": 
false, "defaultValue": true, "description": "Flushes the EntityManager after 
the entity bean has been persisted." },
     "remove": { "kind": "parameter", "displayName": "Remove", "group": 
"producer", "label": "producer", "required": false, "type": "boolean", 
"javaType": "boolean", "deprecated": false, "autowired": false, "secret": 
false, "defaultValue": false, "description": "Indicates to use 
entityManager.remove(entity)." },
     "useExecuteUpdate": { "kind": "parameter", "displayName": "Use Execute 
Update", "group": "producer", "label": "producer", "required": false, "type": 
"boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": 
false, "secret": false, "description": "To configure whether to use 
executeUpdate() when producer executes a query. When you use INSERT, UPDATE or 
DELETE statement as a named query, you need to specify this option to 'true'." 
},
diff --git 
a/components-starter/camel-azure-cosmosdb-starter/src/main/docs/azure-cosmosdb.json
 
b/components-starter/camel-azure-cosmosdb-starter/src/main/docs/azure-cosmosdb.json
index cfbc847abb6..d3c23b87f76 100644
--- 
a/components-starter/camel-azure-cosmosdb-starter/src/main/docs/azure-cosmosdb.json
+++ 
b/components-starter/camel-azure-cosmosdb-starter/src/main/docs/azure-cosmosdb.json
@@ -210,6 +210,13 @@
       "type": "com.azure.cosmos.models.ThroughputProperties",
       "description": "Sets throughput of the resources in the Azure Cosmos DB 
service. The option is a com.azure.cosmos.models.ThroughputProperties type.",
       "sourceType": 
"org.apache.camel.component.azure.cosmosdb.springboot.CosmosDbComponentConfiguration"
+    },
+    {
+      "name": "camel.component.azure-cosmosdb.use-default-identity",
+      "type": "java.lang.Boolean",
+      "description": "Indicates whether to use the default identity mechanism 
instead of the access key.",
+      "sourceType": 
"org.apache.camel.component.azure.cosmosdb.springboot.CosmosDbComponentConfiguration",
+      "defaultValue": false
     }
   ],
   "hints": []
diff --git 
a/components-starter/camel-azure-cosmosdb-starter/src/main/java/org/apache/camel/component/azure/cosmosdb/springboot/CosmosDbComponentConfiguration.java
 
b/components-starter/camel-azure-cosmosdb-starter/src/main/java/org/apache/camel/component/azure/cosmosdb/springboot/CosmosDbComponentConfiguration.java
index 6d51ea6e828..4f2d6fd0c36 100644
--- 
a/components-starter/camel-azure-cosmosdb-starter/src/main/java/org/apache/camel/component/azure/cosmosdb/springboot/CosmosDbComponentConfiguration.java
+++ 
b/components-starter/camel-azure-cosmosdb-starter/src/main/java/org/apache/camel/component/azure/cosmosdb/springboot/CosmosDbComponentConfiguration.java
@@ -248,6 +248,11 @@ public class CosmosDbComponentConfiguration
      * accessing resource.
      */
     private String accountKey;
+    /**
+     * Indicates whether to use the default identity mechanism instead of the
+     * access key.
+     */
+    private Boolean useDefaultIdentity = false;
 
     public Boolean getClientTelemetryEnabled() {
         return clientTelemetryEnabled;
@@ -489,4 +494,12 @@ public class CosmosDbComponentConfiguration
     public void setAccountKey(String accountKey) {
         this.accountKey = accountKey;
     }
+
+    public Boolean getUseDefaultIdentity() {
+        return useDefaultIdentity;
+    }
+
+    public void setUseDefaultIdentity(Boolean useDefaultIdentity) {
+        this.useDefaultIdentity = useDefaultIdentity;
+    }
 }
\ No newline at end of file

Reply via email to