Choose what this site may use

This site uses strictly necessary cookies to work and to remember your privacy choices. With your permission it would also load content hosted by other services, such as videos, maps and fonts, which then receive your network address and device data. We do not sell or share your personal information and we run no advertising. Choose Accept all, Reject all or Customise. You can change your mind at any time through Privacy choices at the foot of every page.

  • Always on

    Needed for the site to work and to remember your privacy choices. Always on.

  • Remembers settings you choose, such as the light or dark display, in your browser.

  • Loads videos, maps and other content hosted by other services. Those services receive your address and device data.

In this section: Build
Start
Reference code
Tools
API reference
Public services
Agents
Bindings and crosswalks

Observatory Protocol service administration (production services)

Source schemas/openapi/obsp-admin.openapi.yaml

On this page
  1. Servers
  2. Operations
  3. Objects

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.

FieldValue
Documentschemas/openapi/obsp-admin.openapi.yaml
FormatOpenAPI 3.1.0
Version0.1.0

Servers

AddressDescription
http://127.0.0.1:{port}A local instance (binds 127.0.0.1 by default)

Operations

MethodPathSummaryOperation
GET/admin/v1/whoamiWho the service thinks is callingadminWhoami
GET/admin/v1/tenantsTenants (global principals)adminListTenants
POST/admin/v1/tenantsCreate 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 stateadminUpdateTenant
GET/admin/v1/tenants/{tenant}/keysA tenant's API keys (never their hashes)adminListKeys
POST/admin/v1/tenants/{tenant}/keysMint an API key; the secret is returned onceadminCreateKey
DELETE/admin/v1/tenants/{tenant}/keys/{keyId}Revoke an API keyadminRevokeKey
GET/admin/v1/auditThe audit log: entries with their audit recordsadminAudit
POST/admin/v1/signing-key/rotateRotate the service's signing key (draft OIP-0008 key records)adminRotateSigningKey
POST/admin/v1/signing-key/revokeRevoke the service's signing key, with an optional replacementadminRevokeSigningKey
POST/admin/v1/sandbox/keysA sandbox API key for the developer portal (only when the operator turns the self-service flag on)adminSandboxKey
GET/v1/keysThe service's signing key records, oldest firstsigningKeyRecords

Objects

Principal, TenantCreate, TenantPatch, Tenant, KeyCreate, ApiKey, MintedKey, AuditPage, KeyChangeRequest, KeyChange