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

Support NATS User Credentials #108

Closed
jirenius opened this issue Aug 6, 2019 · 2 comments
Closed

Support NATS User Credentials #108

jirenius opened this issue Aug 6, 2019 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@jirenius
Copy link
Collaborator

jirenius commented Aug 6, 2019

Issue

Resgate should be able to connect to NATS server using NATS user credential files.

Note

The scope only covers user credential files, and will not include TLS certificates.

Other methods, such as token and username/password authentication, are already supported as the url can contain username/password semantics. Eg.:

resgate --nats nats://user:[email protected]:4222

Implementation

A command-line option should be added:

  • --creds - NATS User Credentials file.

An option should be added to the configuration file:

natsCreds (string)
NATS User Credentials file.
Example: "~/ngs.creds"

@jirenius jirenius self-assigned this Aug 6, 2019
@jirenius jirenius added the enhancement New feature or request label Aug 6, 2019
@jirenius
Copy link
Collaborator Author

jirenius commented Aug 6, 2019

Support for user credential files was initially added in #63

jirenius added a commit that referenced this issue Aug 6, 2019
jirenius added a commit that referenced this issue Aug 6, 2019
…er-credentials

Feature/gh 108 support nats user credentials
@jirenius
Copy link
Collaborator Author

jirenius commented Aug 6, 2019

Resolved in #109

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

No branches or pull requests

1 participant