8000 GitHub - LeadsPlus/elasticsearch-http-basic at 3910c8c7168be2c79fc480bbb71e78663e28b4db
[go: up one dir, main page]

Skip to content

LeadsPlus/elasticsearch-http-basic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HTTP Basic auth for ElasticSearch

This plugin provides an extension of ElasticSearchs HTTP Transport module to enable HTTP Basic authorization.

Installation

Download the current version from https://github.com/Asquera/elasticsearch-http-basic/downloads and copy it to plugins/http-basic.

Configuration

The plugin is disabled by default. Enabling basic authorization will disable the default HTTP Transport module.

http.basic.enabled = true
http.basic.user = "my_username"
http.basic.password = "my_password"

Be aware that the password is stored in plain text.

Testing

$ curl -v --user my_username:my_password localhost:9200 # works
$ curl -v --user my_username:password localhost:9200 # sends 403

Problems

This will not send WWW-Authorize headers - this is due to elasticsearch not allowing to add custom headers to responses.

Issues

Please file your issue here: https://github.com/Asquera/elasticsearch-http-basic/issues

About

HTTP Basic Authentication for Elasticsearch

Resources

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
COPYING

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0