Jiri Ondrusek created CAMEL-21721:
-------------------------------------

             Summary: 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


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)

Reply via email to