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

Support API Key as environment variable #1633

Open
ruflin opened this issue Jan 22, 2024 · 4 comments
Open

Support API Key as environment variable #1633

ruflin opened this issue Jan 22, 2024 · 4 comments
Labels
Team:Ecosystem Label for the Packages Ecosystem team

Comments

@ruflin
Copy link
Member

ruflin commented Jan 22, 2024

Currently if connecting elastic-package to a remote Elastic Stack, only username / password as environment variable are supported. As we are moving more and more to API Keys, also an API key should be supported. See #1627 for more discussions.

Stretch goal: Ideally we would have an easy way to create an API Key either through and API call or in the UI in Kibana with the right permissions ...

@jsoriano
Copy link
Member

jsoriano commented Feb 6, 2024

There are currently issues installing packages with API keys elastic/kibana#166473

@bhapas
Copy link
Contributor

bhapas commented May 21, 2024

@jsoriano Is this unblocked when elastic/kibana#178120 is merged?

@jsoriano
Copy link
Member

@jsoriano Is this unblocked when elastic/kibana#178120 is merged?

Looks like that, yes.

@andrewkroh
Copy link
Member

andrewkroh commented Oct 18, 2024

We need API key support for interacting with Serverless projects. Unless you create the project through the API you won't have an admin user/pass and you cannot create local users. So API key is the only option.

I hacked on this for a few minutes at andrewkroh@6e7f9c2 and was able to do some operations like install packages on serverless, but hit other issues for system tests.

@kpollich kpollich added the Team:Ecosystem Label for the Packages Ecosystem team label Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Team:Ecosystem Label for the Packages Ecosystem team
Projects
None yet
Development

No branches or pull requests

5 participants