Skip to content

Using authentication #327

@konstantinmiller

Description

@konstantinmiller

That's not really a bug but a missing feature :)

It seems not to be possible to use authentication when connecting to Elasticsearch, or is it?

The call client = Elasticsearch([{'host': process.host, 'port': process.port}]) doesn't allow for it.

Can we have something like this please? :)

client = Elasticsearch([{'host': process.host, 'port': process.port}], 
                       http_auth=(process.user, process.password))

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions