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 2024/05/22 08:37:00 UTC

[jira] [Updated] (CAMEL-20795) camel-nats - NATS Credential file support

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

Claus Ibsen updated CAMEL-20795:
--------------------------------
    Summary: camel-nats - NATS Credential file support  (was: NATS Credential file support)

> camel-nats - NATS Credential file support
> -----------------------------------------
>
>                 Key: CAMEL-20795
>                 URL: https://issues.apache.org/jira/browse/CAMEL-20795
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-nats
>    Affects Versions: 4.6.0
>            Reporter: Mikael Koskinen
>            Priority: Minor
>             Fix For: 4.x
>
>
> NATS component currently supports username/password and Token-authentication. Unfortunately all the NATS cloud providers (Scaleway, Synadia) use credential files for authentication. So currently it is not possible to connect NATS component to these hosted NATS solutions.
> Would it be possible to update the NATS component so that it would support the credentials file authentication?
> NATS documentation provides an example of how to connect to a NATS server using the credentials file:
>  
> {code:java}
> Options options = new Options.Builder().
>             server("nats://localhost:4222").
>             authHandler(Nats.credentials("path_to_creds_file")).
>             build();
> Connection nc = Nats.connect(options);
> // Do something with the connection
> nc.close();
> {code}
>  
>  
> This was previously discussed on of https://issues.apache.org/jira/browse/CAMEL-17066



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