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

Need to support Username/Password auth for Elastic Search #5

Open
sam-radiant opened this issue Mar 26, 2018 · 4 comments
Open

Need to support Username/Password auth for Elastic Search #5

sam-radiant opened this issue Mar 26, 2018 · 4 comments

Comments

@sam-radiant
Copy link
Contributor

Currently there is now way to connect to an Elastic Search cluster that requires username and password authentication. Preferably there would be somewhere in the environmental configs to include those credentials.

Lemme know if you have any questions.

Thanks!

@tomkralidis
Copy link
Collaborator

Thanks for the report. Questions/comments:

  • I am guessing HTTP basic auth?
  • if yes can you try setting the URL as per https://serverfault.com/a/371918 and report back? Does that work as a workaround?
  • will add username/password in the config this week and report back for you to test

@sam-radiant
Copy link
Contributor Author

Hey Tom,

That will totally work. Thank you for the update. In the future, for security reasons, it would still be helpful to set them as env vars. Thank you for the workaround.

@tomkralidis
Copy link
Collaborator

Code also updated to support GEOCATALOGO_REPOSITORY_USERNAME and GEOCATALOGO_REPOSITORY_PASSWORD environment variables.

@sam-radiant
Copy link
Contributor Author

Hey Tom,

When I tested it seemed to have to same issues. I think the auth code was commented out. Submitted a pull request to fix.

Cheers,
Sam

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