Skip to content

Post-finalization limits

Finalization is the point at which a control plane stops being configurable in certain ways. This page is the list: what becomes immutable, what becomes locked but openable under audit, and what stays freely changeable.

Finalization happens when the identity latch is activated. See The identity latch.

Immutable: no path back

What Why it cannot change
cp_instance_uuid Generated once at activation; node credentials are bound to it
cp_identity_revision Recorded at activation alongside the instance identity
bootstrap_spec_digest Digest of the spec that produced the latch
locked_db_backend Every later start is checked against it
locked_store_profile Every later start is checked against it

A second activation attempt is refused with CONTROL_PLANE_IDENTITY_LATCH_IMMUTABLE. There is no rotation and no correction. A control plane latched against the wrong storage is replaced, not repaired.

The practical consequence is that changing the backend or profile of a finalized deployment does not produce a reconfigured control plane. It produces one that fails its own readiness check with a drift message, because the observed values no longer match the latched ones. See Finalization invariants and fail-closed startup.

Locked: auth posture

Runtime auth configuration stops accepting ordinary mutation. A request that attempts one on a finalized deployment is refused:

409  AUTH_RUNTIME_CONFIG_FINALIZED_LOCKED

The fields that count as a mutation, any one of which triggers the refusal:

mode
trust_cloud_tokens
allowed_email_domains
allowed_cloud_token_issuers
allowed_cloud_token_audiences
breakglass_mode

Reading the configuration is unaffected. A request that sets none of those fields is accepted and simply returns the current projection, so GET /v1/system/auth/config and a no-op PUT both continue to work.

This is the setting an operator most often wants to change after the fact, and it is exactly the one that is locked, because the auth posture decides which external identities the control plane will accept.

The break-glass path

Auth posture is locked rather than immutable. A distinct break-glass capability operation exists for the case where it genuinely must change, and it is deliberately harder to use than the ordinary path.

It requires two things the ordinary path does not:

Requirement Effect if missing
reason_code 400 AUTH_RUNTIME_CONFIG_BREAK_GLASS_INVALID
evidence_doc, a non-empty document 400 AUTH_RUNTIME_CONFIG_BREAK_GLASS_INVALID

Both are validated before anything is applied, and every use writes an audit record with the action system.auth_runtime_config.break_glass.upsert against the resource system/auth/config, carrying the reason code, the evidence document and whether a mutation was actually applied.

The record is written whether or not the request changed anything, so a break-glass call that turns out to be a no-op is still visible. That is the point: the path exists so that a bypass is a recorded governance act rather than a quiet configuration change.

Break-glass behaviour itself is governed by breakglass_mode, which takes enabled, disabled or requires_approval, and which is one of the locked fields.

Freely changeable after finalization

Most of a deployment is not affected.

The image and the rollout. Bumping the control-plane version is an ordinary rollout. See Roll out a new control-plane version.

Replicas and resources. Scaling the deployment and adjusting requests and limits change nothing the latch records.

Everything above the platform. Tenancy, actors and role bindings, pools, invitations, installations, policy bundles and their attachments, projects and releases are all ordinary state, created and changed through the API for the life of the deployment.

SQLite tuning parameters such as journal mode, busy timeout and cache size are not part of the latch, though on a finalized deployment the backend must be postgres in any case.

What to get right before you finalize

Two decisions, both storage, both permanent:

  1. The backend. A finalized control plane requires postgres. Latching on the file-backed default produces a deployment that will not pass its own checks.
  2. The store profile. Pick the durability posture you intend to run, since the observed profile must match the latched one on every start.

One decision that is locked but recoverable under audit:

  1. The auth posture. Issuers, audiences, email domains and cloud token trust are worth settling before finalization, because changing them afterwards means a break-glass act with a reason code and evidence.

Everything else can wait.