Plan and activate a secret integration¶
You end up with your secret manager connected to the XSRP gateway installed
with each eligible data plane: an Active integration and every installation
confirmed able to resolve through its own gateway. Projects in the workspaces the
integration allows can then use credentials from that manager.
Prerequisites¶
- The organization
owneroradminrole. - A supported secret manager: Vault or OpenBao, AWS Secrets Manager, Azure Key Vault or GCP Secret Manager, plus its key service if projects will sign with keys.
- A security or platform team who can admit the XSRP gateway identities at the manager and open private network routes from your data plane installations.
- Data plane installations already running in the organization. Each installation includes its XSRP gateway.
1. Generate the plan¶
The command asks which manager you use and which private manager boundary the
XSRP gateways will use. It writes a signed SecretIntegration plan
and the reviewable integration plan files, then prints the output directory.
Set PLAN to that directory, for example:
The integration plan files contain:
- private-connectivity requirements shared by the eligible installed gateway runtimes;
- backend-identity constraints and a least-privilege manager-policy template;
- manager-side federation and trust constraints that the installation owner later binds to exact admitted XSRP gateway identities;
- one dedicated, value-free denial-only manager principal for every exact eligible resolver workload, plus the manager rule that refuses each principal so resolvers go through their local gateway. Each resolver workload and integration receives its own principal; and
- one exact non-material synthetic reference for each admitted manager adapter, including a separate key-service reference when signing is enabled.
The plan contains the integration manifest and the XSRP gateway
contribution, both bound to the signed inventory. The manifest contains the
manager, policy and trust constraints,
including the concrete value-free material-locator and operation envelopes.
Admission receives those concrete envelopes and derives their digests.
For Vault/OpenBao, the planning input also carries the public manager CA bundle.
The signed backend-identity constraint pins that bundle, and each gateway and
resolver refusal probe uses it as the sole TLS trust source. The plan remains
value-free and carries public trust configuration.
Eligible data plane installations supply their gateway identities after
activation. The command produces reviewable files for the later apply steps
and a signed inventory that binds every filename and file digest. Keep the
inventory and its verifier with the integration plan files.
secret-integration-apply.json
is the only apply input: applying the bare manifest is refused because it
would discard the signed XSRP gateway authority. Installation reconciliation
also refuses a changed contribution, an unknown key revision or an expired or
revoked verifier.
2. Apply manager access and connectivity¶
Give the integration plan files to your security or platform team. They review and apply the connectivity, federation, trust and denial constraints with your usual infrastructure tools. The denial identity set must cover every listed resolver subject exactly once and assigns it a principal distinct from the gateway backend principal. Once installation reconciliation supplies the exact admitted gateway subjects, the team binds those gateway subjects to the least-privilege manager policy. The data plane installer reconciles the XSRP gateway itself.
3. Apply and activate the integration¶
Example output:
Example output:
4. Check coverage¶
Once the integration is active, every eligible data plane installation checks it automatically. Look at the result:
Example output when every eligible installation has passed:
name corp-vault-production
active revision 1
manager profile vault_openbao
allowed profiles material, sign
state Active
coverage Ready
coverage Ready means every eligible resolver reached its installation's
XSRP gateway, the gateway completed the exact synthetic operation for every
admitted manager adapter, and the resolver was refused when it sent an invalid
request or tried to reach the manager directly. A failed resolver identity
exchange keeps coverage unavailable; only an explicit refusal from the manager
proves the direct-access denial.
When it fails¶
| You see | Cause | Fix |
|---|---|---|
apply refuses the plan |
The signed SecretIntegration plan is missing or changed, its manifest names an unsupported manager, or it contains invalid trust or manager-policy constraints | Run configure integration again and apply the unchanged output directory |
apply refuses the source |
The source holds a binding or project document | Apply bindings with xratu secret apply binding |
| Plan generation refuses signing | The planning signer is unavailable, expired or revoked, or the inventory changed before return | Retry after the control-plane signing authority is healthy; do not apply an unsigned plan |
Coverage stays Probing or Degraded |
The gateway cannot complete the integration-specific manager check | Check the private manager route, integration trust and admitted gateway identity |
| Planning or apply refuses a denial principal | It is missing, shared by resolver workloads, already dedicated to another integration or matches the gateway backend principal | Apply a distinct denial-only principal for each exact resolver workload and integration; retain an existing principal only for a new immutable revision of that same integration |
Coverage never reaches Ready |
A denial principal belongs to another resolver, cannot authenticate, or can reach the manager | Apply the exact generated denial identity/federation and manager refusal; the next check updates coverage |
| One gateway replica stops | The logical gateway remains ready through another replica | The data plane installation reconciler replaces the failed replica |
| The logical gateway becomes unavailable | The data plane installation becomes unhealthy after its health grace; the control plane transfers its work with a new fence while the installer restores the gateway | Check the gateway workload, local Service and recovery state; the restored installation becomes eligible for later work |
| The gateway cannot reach this manager | Integration coverage degrades while general data plane health remains available | Restore the private manager route, admitted gateway identity or manager service |
| Your command is refused | Integrations need the organization owner or admin role |
Ask an organization administrator |
What changed¶
The organization has an Active integration, each eligible data plane has its
installer-managed XSRP gateway, and every installation that can run projects
has passed the coverage check.