Skip to content

Conversation

@SvKohn
Copy link
Contributor

@SvKohn SvKohn commented Nov 14, 2025

Summary

Adds nkey_seed authentication option to the NATS output plugin for feature parity with the NATS input plugin.

The NATS input plugin already supports nkey seed authentication, but the output plugin doesn't. This PR adds the same functionality to maintain consistency between both plugins.

Changes:

  • Added nkey_seed configuration option
  • Implemented authentication using nats.NkeyOptionFromSeed() (same as input plugin)
  • Updated README.md and sample.conf

Checklist

Related issues

resolves #18006

@telegraf-tiger telegraf-tiger bot added feat Improvement on an existing feature such as adding a new setting/mode to an existing plugin plugin/output 1. Request for new output plugins 2. Issues/PRs that are related to out plugins labels Nov 14, 2025
@telegraf-tiger
Copy link
Contributor

@srebhan srebhan changed the title feat(outputs.nats): add nkey seed authentication support feat(outputs.nats): Support nkey seed authentication Nov 17, 2025
Copy link
Member

@srebhan srebhan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your contribution @SvKohn!

@srebhan srebhan added the ready for final review This pull request has been reviewed and/or tested by multiple users and is ready for a final review. label Nov 17, 2025
@mstrandboge mstrandboge merged commit ea2cb48 into influxdata:master Nov 17, 2025
29 checks passed
@github-actions github-actions bot added this to the v1.37.0 milestone Nov 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feat Improvement on an existing feature such as adding a new setting/mode to an existing plugin plugin/output 1. Request for new output plugins 2. Issues/PRs that are related to out plugins ready for final review This pull request has been reviewed and/or tested by multiple users and is ready for a final review.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add nkey seed authentication support to NATS output plugin

6 participants