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 to use with an elastic APIKey? #55

Open
chill-cod3r opened this issue Jun 17, 2020 · 4 comments
Open

How to use with an elastic APIKey? #55

chill-cod3r opened this issue Jun 17, 2020 · 4 comments

Comments

@chill-cod3r
Copy link

I only see support for the basic user:pass in the url auth mechanism. Is there an example showing how to use an apikey auth mechanism instead? For example, getting this data to the client:

https://www.elastic.co/guide/en/cloud/current/ec_connect_a_client.html#ec_api_key

@mcollina
Copy link
Member

cc @delvedor

@delvedor
Copy link
Collaborator

You are right, currently you can’t pass an api key. It would be nice to expose it as the client does support it.
Would you like to send a pr? :)

@chill-cod3r
Copy link
Author

Okay sure thing, I'd be happy to.

@chill-cod3r
Copy link
Author

@delvedor @mcollina Pull request is up 😄

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

3 participants