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

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


The following commit(s) were added to refs/heads/main by this push:
     new 13f430a9dcb CAMEL-22716 env variable should not contain dots (#1578)
13f430a9dcb is described below

commit 13f430a9dcb3d466ba2f97b181fb8e43979863a6
Author: Ashish Nayyar <[email protected]>
AuthorDate: Fri Nov 21 20:20:45 2025 +1100

    CAMEL-22716 env variable should not contain dots (#1578)
---
 .../key/vault/springboot/SpringBootAzureKeyVaultPropertiesParser.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/components-starter/camel-azure-key-vault-starter/src/main/java/org/apache/camel/component/azure/key/vault/springboot/SpringBootAzureKeyVaultPropertiesParser.java
 
b/components-starter/camel-azure-key-vault-starter/src/main/java/org/apache/camel/component/azure/key/vault/springboot/SpringBootAzureKeyVaultPropertiesParser.java
index 221d2f8a83b..cc1614a04e6 100644
--- 
a/components-starter/camel-azure-key-vault-starter/src/main/java/org/apache/camel/component/azure/key/vault/springboot/SpringBootAzureKeyVaultPropertiesParser.java
+++ 
b/components-starter/camel-azure-key-vault-starter/src/main/java/org/apache/camel/component/azure/key/vault/springboot/SpringBootAzureKeyVaultPropertiesParser.java
@@ -49,7 +49,7 @@ public class SpringBootAzureKeyVaultPropertiesParser 
implements ApplicationListe
             String clientId = 
environment.getProperty("camel.vault.azure.clientId");
             String clientSecret = 
environment.getProperty("camel.vault.azure.clientSecret");
             String tenantId = 
environment.getProperty("camel.vault.azure.tenantId");
-            boolean azureIdentityEnabled = 
Boolean.parseBoolean(System.getenv("camel.vault.azure.azureIdentityEnabled"));
+            boolean azureIdentityEnabled = 
Boolean.parseBoolean(System.getenv("CAMEL_VAULT_AZURE_IDENTITY_ENABLED"));
             if (ObjectHelper.isNotEmpty(vaultName) && 
ObjectHelper.isNotEmpty(clientId) && ObjectHelper.isNotEmpty(clientSecret)
                     && ObjectHelper.isNotEmpty(tenantId) && 
!azureIdentityEnabled) {
                 String keyVaultUri = "https://"; + vaultName + 
".vault.azure.net";

Reply via email to