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

[milestone] Create a cache that listens in on API tokens index if feature is enabled #4902

Open
derek-ho opened this issue Nov 13, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request untriaged Require the attention of the repository maintainers and may need to be prioritized

Comments

@derek-ho
Copy link
Collaborator

Is your feature request related to a problem?
If API Tokens feature is enabled we will use an allowlist cache which will allow us to check whether a given api token can be used for authc/z. We should only create this cache if the feature is enabled, and it should listen in to index events to keep up to date when an API token is created/revoked/deleted.
What solution would you like?
Similar to existing cache, we create a cache specifically for API tokens
What alternatives have you considered?
Denylist cache, no cache (performance hit)
Do you have any additional context?
None

@derek-ho derek-ho added enhancement New feature or request untriaged Require the attention of the repository maintainers and may need to be prioritized labels Nov 13, 2024
@derek-ho derek-ho self-assigned this Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request untriaged Require the attention of the repository maintainers and may need to be prioritized
Projects
None yet
Development

No branches or pull requests

1 participant