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

[Fleet] Handle API keys not enabled scenario #54611

Closed
jen-huang opened this issue Jan 13, 2020 · 4 comments
Closed

[Fleet] Handle API keys not enabled scenario #54611

jen-huang opened this issue Jan 13, 2020 · 4 comments
Assignees
Labels
Feature:Fleet Fleet team's agent central management project Team:Fleet Team label for Observability Data Collection Fleet team

Comments

@jen-huang
Copy link
Contributor

When xpack.security.authc.api_key.enabled is false, enrollment API keys are not able to be created/used. This can happen if user does not configure TLS. We should make sure that:

  • An appropriate warning is displayed in Fleet UI
  • A corresponding error is thrown when hitting any relevant Fleet API endpoints
  • The case of creating a default policy + its enrollment key is handled (related to initial work done in [Fleet] Fix api key creation #54498)
    • Should we not create a default policy at all if API keys are disabled?
    • What happens if a default policy is created, but its API key isn't (due to being disabled)?
@jen-huang jen-huang added the Feature:Fleet Fleet team's agent central management project label Jan 13, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/ingest (Feature:Fleet)

@nchaulet nchaulet self-assigned this Jan 15, 2020
@nchaulet
Copy link
Member

Depends on #55255

@nchaulet
Copy link
Member

Blocked by #59576

@jen-huang jen-huang added the Team:Fleet Team label for Observability Data Collection Fleet team label Mar 26, 2020
@nchaulet
Copy link
Member

Closing in favor of #63637

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Fleet Fleet team's agent central management project Team:Fleet Team label for Observability Data Collection Fleet team
Projects
None yet
Development

No branches or pull requests

3 participants