Apache Camel / Azure Vault URI setup

Viewed 32

We are having an issue trying to read outlook emails. Currently we are using the following Apache camel endpoint to login to Outlook 365 emails:

imaps://Outlook.office365.com:993?password=XXXX&username=YYYY

We upgraded to apache Camel 3.17 to have access to azure vault. We began our testing with tenantId and clientId.

We get the following error.

Caused by: java.lang.IllegalArgumentException: Azure Secret Client or client Id, client secret and tenant Id must be specified at org.apache.camel.component.azure.key.vault.KeyVaultComponent.createEndpoint(KeyVaultComponent.java:66) at org.apache.camel.support.DefaultComponent.createEndpoint(DefaultComponent.java:171) at org.apache.camel.impl.engine.AbstractCamelContext.doGetEndpoint(AbstractCamelContext.java:951) ... 97 more

If anyone has set this up successfully, please help with an example of URI parameters

Thank you

0 Answers
Related