lorivo keys

Manages inference API keys, the same ad_… keys used for /v1/* calls.

Usage

lorivo keys <command> [options]
CommandDescription
create <org> [--label <label>]Create a key for an org (plaintext shown once)
list [--org <id>]List keys (never the plaintext)
revoke <key-id>Revoke a key (soft delete)
delete <key-id>Permanently delete a key

Org-scoped keys can only create keys for their own org. The <org> argument is ignored for them.

Example

lorivo keys create acme-ai --label "prod-eu"
output
✓ Created key ad_9WTqoA… for org "acme-ai"
ad_9WTqoA1bC2dE3fG4hJ5kL6mN7pQ8rS9
Store it now. It will not be shown again.
API: Authorization: Bearer ad_9WTqoA…

Under the hood

  • createPOST /api/auth/keys
  • listGET /api/auth/keys
  • revoke POST /api/auth/keys/:id/revoke
  • deleteDELETE /api/auth/keys/:id

See API keys for the raw requests and response shapes.