Skip to content

Integration planning and lifecycle

Connecting a secret manager happens in two stages. Planning generates everything your teams need to connect it: a signed SecretIntegration plan for Xratu, and integration plan files with the manager policy, private connectivity and trust that the XSRP gateways already installed with your data planes use. Then you apply the plan, activate its immutable revision, and wait for coverage. After that, each change is a new revision. This page covers what planning generates, how revisions move through their states, and who can do what.

What planning generates

xratu config set organization acme
xratu secret configure integration corp-vault-production

The command asks which manager you use and how to reach it, then writes:

  • secret-integration-apply.json, which binds the integration manifest and XSRP gateway contribution to one signed inventory;
  • private network requirements shared across eligible XSRP gateways;
  • backend-identity constraints and a least-privilege manager-policy template;
  • manager-side federation and trust constraints that installation reconciliation later binds to exact admitted gateway identities;
  • a dedicated value-free denial-only manager principal for every exact eligible resolver workload, and a rule for your manager that refuses each principal.

Planning produces reviewable files for the later apply steps. Your security or platform team applies the integration plan files with your usual infrastructure tools. The data plane installer owns the XSRP gateway workload and reconciles one isolated gateway in each installation. The SecretIntegration plan contains the manager, policy and trust constraints plus the value-free XSRP gateway contribution. Integration apply verifies the named control-plane signing key before persisting either. After activation, Xratu projects the same immutable revision into every eligible gateway, authenticates the enrolled gateway replica and combines that authority with the gateway's installer-owned identity.

The plan also contains a signed inventory of every emitted file. The signing authority has a key purpose and key revision history separate from package-publication and runtime-evidence keys. Xratu returns a plan when its inventory is unchanged, its named verifier is available and its signing key is valid. The signing authority retains the private signing material.

The manifest records concrete, value-free manager scope. Material locator scope (such as secret prefixes or Vault KV paths) is separate from operation scope (such as KMS key identifiers or Vault Transit paths). The control plane canonicalizes those closed provider shapes and derives their digests. Admission requires the concrete shapes together with their derived digests. Vault/OpenBao planning additionally requires the manager's public CA bundle. It is part of the signed gateway backend-identity constraint and its canonical digest, so private-manager TLS is control-plane driven and exact. Gateways and resolver denial probes use that pinned CA as their sole TLS trust source.

The integration plan carries the complete set of resolver denial identities. AWS entries name denial-only role ARNs, Azure entries name denial-only federated client IDs, GCP entries name denial-only workload service accounts, and Vault/OpenBao entries name denial-only auth methods and roles. The installed resolver uses the entry assigned to its workload. Every eligible resolver subject and integration has its own denial principal, while immutable revisions of the same integration may retain their existing principals. Missing, duplicate, extra or cross-scope entries refuse planning.

XSRP gateway readiness belongs to the data plane installation's general health. Loss of the logical gateway makes that installation unavailable after its health grace while the installer restores it. Manager reachability, adapter health and manager identity remain properties of the integration's coverage; the scheduler continues to use the data plane installation's general health and capacity.

Planning produces the signed SecretIntegration plan and manager constraints. XSRP gateway revisions supply the exact subjects that the security team admits, while integration revisions reconcile the selected configuration into the gateway runtime.

flowchart TB
  subgraph CP["XRATU CONTROL PLANE"]
    direction LR
    PLAN["Planning"]
    INT[("Integration revisions")]
    GATEWAYS[("XSRP gateway revisions")]
  end
  subgraph ORG["YOUR TEAMS"]
    direction LR
    ADMIN(["Organization administrator"])
    SEC(["Security and platform team"])
  end
  subgraph DPI["YOUR DATA PLANE INSTALLATIONS"]
    direction LR
    GW["Installer-managed XSRP gateways"]
  end
  subgraph YOU["YOUR MANAGER BOUNDARY"]
    direction LR
    MGR[("Secret manager")]
  end
  ADMIN -->|"1. configure integration"| PLAN
  PLAN -->|"2. signed SecretIntegration plan and plan files"| ADMIN
  ADMIN -->|"3. review constraints"| SEC
  ADMIN -->|"4. apply and activate"| INT
  INT -->|"5. reconcile integration"| GW
  GATEWAYS -->|"6. exact gateway subjects"| SEC
  SEC -->|"7. admit identities and routes"| MGR
  GW -->|"8. manager operation"| MGR

How revisions change state

Command Works on Result
apply A complete signed SecretIntegration plan A new revision in Draft; applying the same signed content again returns the same revision
activate A Draft revision Active; new deployments use it
disable An Active revision, with a reason Disabled; prevents new use while work already holding a credential finishes
revoke Any revision except Revoked, with a reason Revoked; terminates all use at once

Disabled and Revoked revisions are terminal. Changing or restoring an integration requires an applied and activated new revision. An Active integration admits projects once its coverage is Ready; see Coverage admission.

Who can do what

Creating, activating, disabling and revoking integrations requires an organization owner or admin. Integration authority belongs to those organization roles. Anyone with read access can list and describe integrations; ordinary output hides manager references and resolver/backend- identity and trust constraints. Exact XSRP gateway identity and readiness state remain under the installation and coverage owners.

Refusals when you apply

Message about Cause
Missing or changed signed application The source is a bare manifest, omits the XSRP gateway contribution or differs from its signed inventory
Unsupported manager The plan's manifest names a manager outside the supported four
Credential in the manifest A field holds a token, key or password; the manifest holds references only
Manager trust or manager policy The manager federation or policy constraints are invalid
Wrong kind The source holds a binding or project document; apply each with its own command