You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2025/02/05 13:53:00 UTC

[jira] [Resolved] (CAMEL-21721) camel-azure-key-vault: validation of the credentials in component is too strict

     [ https://issues.apache.org/jira/browse/CAMEL-21721?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-21721.
---------------------------------
    Resolution: Fixed

> camel-azure-key-vault: validation of the credentials in component is too strict
> -------------------------------------------------------------------------------
>
>                 Key: CAMEL-21721
>                 URL: https://issues.apache.org/jira/browse/CAMEL-21721
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-azure
>    Affects Versions: 4.10.0
>            Reporter: Jiri Ondrusek
>            Assignee: Jiri Ondrusek
>            Priority: Major
>             Fix For: 4.10.0
>
>
> Current state is that the creation of the component fails, when Identity is used without (unnecessary) credentials.
>  
> There is a validation of configuration parameters in component, see the [code|https://github.com/apache/camel/blob/main/components/camel-azure/camel-azure-key-vault/src/main/java/org/apache/camel/component/azure/key/vault/KeyVaultComponent.java#L59]. This validation matters only if 
> {code:java}
> epConfiguration.getCredentialType() == CredentialType.CLIENT_SECRET{code}
> in case of 
> {code:java}
> CredentialType.AZURE_IDENTITY {code}
> None of the validated parameters are required.
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)