Expand description
API Key management for the Dakera client.
Provides methods for creating, listing, rotating, and managing API keys.
Structs§
- ApiKey
Usage Response - API key usage statistics
- Create
KeyRequest - Request to create a new API key
- Create
KeyResponse - Response after creating an API key
- Create
Namespace KeyRequest - Request body for
POST /v1/namespaces/:namespace/keys(SEC-1). - Create
Namespace KeyResponse - Response from
POST /v1/namespaces/:namespace/keys(SEC-1). - Endpoint
Usage Info - Usage statistics per endpoint
- KeyInfo
- API key info (without sensitive data)
- KeySuccess
Response - Generic success response
- List
Keys Response - List keys response
- List
Namespace Keys Response - Response from
GET /v1/namespaces/:namespace/keys(SEC-1). - Namespace
KeyInfo - Namespace-scoped API key metadata — no secret included (SEC-1).
- Namespace
KeyUsage Response - Response from
GET /v1/namespaces/:namespace/keys/:key_id/usage(SEC-1). - Namespace
Usage Info - Usage statistics per namespace
- Rotate
KeyResponse - Rotate key response