Skip to content

Manage Product State

The API owns Zones, Applications, workloads, Providers, Resources, Policies, Policy sets, Grants, Federated user issuers, Subjects, Authority records, Approval holds, admin audit, and related management state.

Human operators use the web console; its auth backend calls the API with derived operator credentials. Trusted automation uses the Admin SDK or documented /v1 Admin API. The optional Control plugin dispatches into the same management implementation.

Workloads must not receive the API admin token or use management routes as a data-plane credential source.

ItemLocal value
Port3000
LivenessGET /health
ReadinessGET /ready
MetricsGET /metrics
Management prefix/v1
Optional interactive docs/docs when enabled

Use Use the Admin API for route and auth reference rather than treating this service page as an endpoint catalog. Service environment variables are cataloged in Configure Service Environment.

sequenceDiagram
  participant Client as Console / Admin SDK / Control
  participant API
  participant PG as Postgres
  participant Redis
  Client->>API: authenticated management request
  API->>PG: validate zone and commit state + outbox
  API-->>Client: resource or typed error
  API->>Redis: dispatch signed outbox event

The state change and outbox row commit together. Redis publication follows asynchronously. A successful API response can therefore precede policy reload, revocation, or audit consumption by a short interval.

FailureUser impact
Postgres unavailableReads/writes and readiness fail.
Redis unavailableReadiness or outbox signals degrade; committed state remains in Postgres for retry.
Dead/old outbox rowsConsumers may retain stale policy, revocation, or audit state; Diagnostics surfaces the backlog.
Missing/invalid admin token401; the console may report not connected or unauthorized.
Valid token without scope403; narrow the operation or grant the required operator scope.
Secret backend unavailableSecret-bearing create, reveal, rotation, or dependent issuance fails closed.

Do not call the API’s STS-coordination or internal service routes directly. The owning console or Admin SDK workflow supplies the required authentication and validation.

Coordinate Session State or Manage Product Objects.