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

Create/Get prem-service api-key #410

Open
sekulicd opened this issue Oct 25, 2023 · 0 comments
Open

Create/Get prem-service api-key #410

sekulicd opened this issue Oct 25, 2023 · 0 comments

Comments

@sekulicd
Copy link
Contributor

sekulicd commented Oct 25, 2023

Description:
In the service description page, add an option to create/get API keys for individual services.

Endpoint:
No DNS -> POST http://{IP}/authd/auth/api-key
With DNS -> POST https: //authd.{domain}/auth/api-key
Note: The Authorization header should contain the root api_key from the login step.
Check bellow body example:

{
    "service_name":"gpt4all-lora-q4",
    "requests_per_range":10,
    "range_in_minutes": 1
}

Reference:
Please refer to the related premAI-io/prem-gateway#21 for further details.

@tiero @filopedraz @Janaka-Steph

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant