Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an example of subject based authentication and authorization. #153

Closed
zeromsi opened this issue Sep 12, 2020 · 1 comment
Closed

Add an example of subject based authentication and authorization. #153

zeromsi opened this issue Sep 12, 2020 · 1 comment
Assignees

Comments

@zeromsi
Copy link

zeromsi commented Sep 12, 2020

I want to allow certain client to certain subject. Is it possible using nats?

@ColinSullivan1
Copy link
Member

ColinSullivan1 commented Sep 14, 2020

Thanks for using NATS!

Yes, that is possible. Documentation about how to do that can be found here:
https://docs.nats.io/nats-server/configuration/securing_nats/authorization#examples

For NATS 2.0 Authorization, check out:
https://docs.nats.io/nats-tools/nsc/nsc#user-authorization

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants