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

[JWT] Support authentication based on JWT #4277

Open
4 tasks
jsoriano opened this issue Feb 19, 2024 · 1 comment
Open
4 tasks

[JWT] Support authentication based on JWT #4277

jsoriano opened this issue Feb 19, 2024 · 1 comment
Labels
Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team

Comments

@jsoriano
Copy link
Member

jsoriano commented Feb 19, 2024

Describe the enhancement:

We are going to implement support for authentication based on JWT in Fleet Server. Elastic Agent should prefer the use of JWT when available.

Describe a specific use case for the enhancement or feature:

In scenarios with many agents, having stateless authentication helps to scale.

What is the definition of done?

  • elastic-agent can indicate that it supports JWT on enrollment and obtain tokens instead of API keys.
  • elastic-agent can refresh JWT tokens using access or refresh tokens.
  • elastic-agent can request JWT tokens using an API key. Once JWT token are available, it should forget API keys.
  • elastic-agent can use JWT access tokens for all its operations with Fleet Server.

Related issues

@elasticmachine
Copy link
Contributor

Pinging @elastic/elastic-agent-control-plane (Team:Elastic-Agent-Control-Plane)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team
Projects
None yet
Development

No branches or pull requests

3 participants