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 2023/12/12 13:09:27 UTC
(camel) 02/02: CAMEL-20220 - Camel Azure Key Vault: Support Azure Identity in the component and secrets function - Security Docs
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch azure-key-vault-docs
in repository https://gitbox.apache.org/repos/asf/camel.git
commit da3213a2ca8419052d1418ef55459b979d9b8715
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Dec 12 14:02:44 2023 +0100
CAMEL-20220 - Camel Azure Key Vault: Support Azure Identity in the component and secrets function - Security Docs
Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
docs/user-manual/modules/ROOT/pages/security.adoc | 32 +++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/docs/user-manual/modules/ROOT/pages/security.adoc b/docs/user-manual/modules/ROOT/pages/security.adoc
index e749620a357..36f7a26eceb 100644
--- a/docs/user-manual/modules/ROOT/pages/security.adoc
+++ b/docs/user-manual/modules/ROOT/pages/security.adoc
@@ -330,6 +330,22 @@ camel.vault.azure.clientSecret = clientSecret
camel.vault.azure.vaultName = vaultName
----
+Or you can enable the usage of Azure Identity in the following way:
+
+[source,bash]
+----
+export $CAMEL_VAULT_AZURE_IDENTITY_ENABLED=true
+export $CAMEL_VAULT_AZURE_VAULT_NAME=vaultName
+----
+
+You can also enable the usage of Azure Identity in the `application.properties` file such as:
+
+[source,properties]
+----
+camel.vault.azure.azureIdentityEnabled = true
+camel.vault.azure.vaultName = vaultName
+----
+
At this point you'll be able to reference a property in the following way:
[source,xml]
@@ -647,6 +663,22 @@ camel.vault.azure.clientSecret = clientSecret
camel.vault.azure.vaultName = vaultName
----
+If you want to use Azure Identity with environment variables, you can do in the following way:
+
+[source,bash]
+----
+export $CAMEL_VAULT_AZURE_IDENTITY_ENABLED=true
+export $CAMEL_VAULT_AZURE_VAULT_NAME=vaultName
+----
+
+You can also enable the usage of Azure Identity in the `application.properties` file such as:
+
+[source,properties]
+----
+camel.vault.azure.azureIdentityEnabled = true
+camel.vault.azure.vaultName = vaultName
+----
+
To enable the automatic refresh you'll need additional properties to set:
[source,properties]