Skip to main content

Module api_keys

Module api_keys 

Source
Expand description

API Key management endpoints for Identity Provider

Structs§

ApiKeyIdTagQuery
Query parameters for get/delete API key endpoints
ApiKeyResponse
Response structure for API key details (metadata only, no plaintext key)
CreateApiKeyRequest
Request structure for creating a new API key
CreatedApiKeyResponse
Response structure for newly created API key (includes plaintext key, shown once)
ListApiKeysQuery
Query parameters for listing API keys

Functions§

create_api_key
POST /api/api-keys - Create a new API key for a specified identity
delete_api_key
DELETE /api/idp/api-keys/{api_key_id} - Revoke/delete an API key
get_api_key
GET /api/idp/api-keys/{api_key_id} - Get a specific API key by ID
list_api_keys
GET /api/api-keys - List API keys for a specified identity