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

How can I secure the API with username and password? #619

Open
ortonomy opened this issue Dec 8, 2024 · 3 comments
Open

How can I secure the API with username and password? #619

ortonomy opened this issue Dec 8, 2024 · 3 comments

Comments

@ortonomy
Copy link

ortonomy commented Dec 8, 2024

how do add auth to gost --api ... ? gost --help provides no useful info.

@ginuerzh
Copy link
Member

ginuerzh commented Dec 9, 2024

@ortonomy
Copy link
Author

ortonomy commented Dec 15, 2024

Thanks @ginuerzh!

Authentication information can be set through the auth or auther options. If the auther option is set, the auth option is ignored.

api:
  addr: :18080
  auth:
    username: user
    password: pass
  auther: auther-0

this doesn't make much sense to me, though. auther-0 - what does that mean?. What is an auther?

@ginuerzh
Copy link
Member

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