The admin API and the key, cosignature and identity operations that the production public services (reference/rust/obsp-services) add to the routes of the four service documents. Identity: the operator token, API keys (obsp_<id>_<secret>, stored hashed), or OAuth 2.1 / OpenID Connect access tokens from the operator's identity provider, sent as Bearer or DPoP (RFC 9449); scopes in the list below. A tenant is an authority: its principals act on its own resources only, within its rate limit and daily quota. Every call that needs a scope is appended to the audit log. Draft; not a hosted service.
| Field | Value |
| Document | schemas/openapi/obsp-admin.openapi.yaml |
| Format | OpenAPI 3.1.0 |
| Version | 0.1.0 |
Servers
| Address | Description |
http://127.0.0.1:{port} | A local instance (binds 127.0.0.1 by default) |
Operations
| Method | Path | Summary | Operation |
GET | /admin/v1/whoami | Who the service thinks is calling | adminWhoami |
GET | /admin/v1/tenants | Tenants (global principals) | adminListTenants |
POST | /admin/v1/tenants | Create a tenant (an authority) | adminCreateTenant |
GET | /admin/v1/tenants/{tenant} | One tenant (global, or the tenant itself) | adminGetTenant |
PATCH | /admin/v1/tenants/{tenant} | Change a tenant's scopes, limits, quota, status lists or state | adminUpdateTenant |
GET | /admin/v1/tenants/{tenant}/keys | A tenant's API keys (never their hashes) | adminListKeys |
POST | /admin/v1/tenants/{tenant}/keys | Mint an API key; the secret is returned once | adminCreateKey |
DELETE | /admin/v1/tenants/{tenant}/keys/{keyId} | Revoke an API key | adminRevokeKey |
GET | /admin/v1/audit | The audit log: entries with their audit records | adminAudit |
POST | /admin/v1/signing-key/rotate | Rotate the service's signing key (draft OIP-0008 key records) | adminRotateSigningKey |
POST | /admin/v1/signing-key/revoke | Revoke the service's signing key, with an optional replacement | adminRevokeSigningKey |
POST | /admin/v1/sandbox/keys | A sandbox API key for the developer portal (only when the operator turns the self-service flag on) | adminSandboxKey |
GET | /v1/keys | The service's signing key records, oldest first | signingKeyRecords |
Objects
Principal, TenantCreate, TenantPatch, Tenant, KeyCreate, ApiKey, MintedKey, AuditPage, KeyChangeRequest, KeyChange