This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch CAMEL-18590-azure-storage-queue in repository https://gitbox.apache.org/repos/asf/camel.git
commit f056237e5abfc3e500ab60e2b96687acf5e75d64 Author: Andrea Cosentino <[email protected]> AuthorDate: Tue Dec 19 10:54:08 2023 +0100 CAMEL-18590 - Camel-Azure components: Define a unique configuration for authentication - Azure Storage Queue - Docs Signed-off-by: Andrea Cosentino <[email protected]> --- .../src/main/docs/azure-storage-queue-component.adoc | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/components/camel-azure/camel-azure-storage-queue/src/main/docs/azure-storage-queue-component.adoc b/components/camel-azure/camel-azure-storage-queue/src/main/docs/azure-storage-queue-component.adoc index 5361811c30c..ba693166811 100644 --- a/components/camel-azure/camel-azure-storage-queue/src/main/docs/azure-storage-queue-component.adoc +++ b/components/camel-azure/camel-azure-storage-queue/src/main/docs/azure-storage-queue-component.adoc @@ -67,15 +67,13 @@ include::partial$component-endpoint-options.adoc[] *Required information options:* -To use this component, you have 3 options in order to provide the required Azure authentication information: - -- Provide `accountName` and `accessKey` for your Azure account, this is the simplest way to get started. The accessKey can -be generated through your Azure portal. -- Provide a https://azuresdkartifacts.blob.core.windows.net/azure-sdk-for-java/staging/apidocs/com/azure/storage/common/StorageSharedKeyCredential.html[StorageSharedKeyCredential] instance which can be -provided into `credentials` option. -- Provide a https://azuresdkartifacts.blob.core.windows.net/azure-sdk-for-java/staging/apidocs/com/azure/storage/queue/QueueServiceClient.html[QueueServiceClient] instance which can be -provided into `serviceClient`. Note: You don't need to create a specific client, e.g: QueueClient, the QueueServiceClient represents the upper level which -can be used to retrieve lower level clients. +*Required information options:* + +To use this component, you have multiple options in order to provide the required Azure authentication information: + +- Via Azure Identity, when specifying `credentialType=AZURE_IDENTITY` and providing required https://github.com/Azure/azure-sdk-for-java/tree/main/sdk/identity/azure-identity#environment-variables[environment variables]. This enables service principal (e.g. app registration) authentication with secret/certificate as well as username password. +- Via shared storage account key, when specifying `credentialType=SHARED_ACCOUNT_KEY` and providing `accountName` and `accessKey` for your Azure account, this is the simplest way to get started. The accessKey can be generated through your Azure portal. Note that this is the default authentication strategy. +- Via shared storage account key, when specifying `credentialType=SHARED_KEY_CREDENTIAL` and providing a https://azuresdkartifacts.blob.core.windows.net/azure-sdk-for-java/staging/apidocs/com/azure/storage/common/StorageSharedKeyCredential.html[StorageSharedKeyCredential] instance which can be injected into `credentials` option. == Usage
