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

Negative doc cache for API keys #107369

Open
slobodanadamovic opened this issue Apr 11, 2024 · 1 comment
Open

Negative doc cache for API keys #107369

slobodanadamovic opened this issue Apr 11, 2024 · 1 comment
Labels
>enhancement :Security/Authentication Logging in, Usernames/passwords, Realms (Native/LDAP/AD/SAML/PKI/etc) Team:Security Meta label for security team

Comments

@slobodanadamovic
Copy link
Contributor

slobodanadamovic commented Apr 11, 2024

Description

When using an API key, that expired and got removed, we always have to make a call to try and fetch it from the .security index. In some cases when there is a large number of expired keys still being used by clients, it introduces an unnecessary load and latency to the API key authentication. Having a negative doc lookup cache can help reduce this.

@slobodanadamovic slobodanadamovic added >enhancement :Security/Authentication Logging in, Usernames/passwords, Realms (Native/LDAP/AD/SAML/PKI/etc) Team:Security Meta label for security team labels Apr 11, 2024
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-security (Team:Security)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>enhancement :Security/Authentication Logging in, Usernames/passwords, Realms (Native/LDAP/AD/SAML/PKI/etc) Team:Security Meta label for security team
Projects
None yet
Development

No branches or pull requests

2 participants