-
Notifications
You must be signed in to change notification settings - Fork 277
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
API-Key generation API is missing #1504
Comments
Was just looking for this feature today...would love to have this. |
+1 I was also searching around thinking I'd missed something in the documentation! |
+1 also looking for this feature |
+1 yes this would be a great feature, lots of applications writing to elastic has this support so adding it to Opensearch would be a good improvement. |
Would be an excellent feature to have. |
+1 on this one, good to have when implementing "machine to machine" where cert auth is not possible. |
+1 this feature would be a great addition |
+1 |
Requirements API tokens would be useful in several situations, including user and service to service authentication/authorization. Once available in the OpenSearch security ecosystem, API tokens can also be used as the foundational building blocks for other features such as enforcing rate or resource usage limits to asynchronous/long running jobs. Based on the above the main user stories we are trying to solve would be the following:
Design Approach 1: Index a Document for each Token, AllowList Cache for Usage (Preferred) Components:
Create token flow: POST /apitokens
Revoke API Token flow
Delete API Token flow
Get All API Token flow
Use API Token for Authc/AuthZ flow
Key Concerns/Considerations
Approach 2: Index a document for each token, DenyList Cache
Approach 3: Do an index lookup for each request to verify validity of api token
|
Task breakdown / sub tasks: Working on feature branch: https://github.com/opensearch-project/security/tree/feature/api-tokens |
Is your feature request related to a problem? Please describe.
Instead of using normal user+password authentication I would like to have an never expiring API key as Elasticsearch also offers.
https://www.elastic.co/guide/en/elasticsearch/reference/7.16/security-api-create-api-key.html
Currently I have not found any way to generate such a key as the security plugin does not have such an option yet:
https://opensearch.org/docs/latest/security-plugin/access-control/api/
Describe the solution you'd like
It would be great to have an Elasticsearch compatible API for generating API-keys
The text was updated successfully, but these errors were encountered: