Skip to content

Credential boundary

Fetching a credential takes four separate authorities: the node's identity, issued by your cloud or your own identity provider; Xratu's permission for that node to fetch that credential for the work it is running; the local XSRP gateway's integration rules; and the gateway's separate access to the manager. Each authority alone fetches nothing, so Xratu can run your projects while your credentials stay with you. This page covers the four pieces and what an attacker who steals one of them can do.

The four pieces

Piece Held by Says
Node identity Your cloud account, SPIFFE, private PKI or OIDC provider This request comes from one of your nodes
Resolution grant Xratu This node may fetch this credential for the work it is running now
XSRP gateway rules The installation-local XSRP gateway, from your integration policy This node and this grant may use this credential
XSRP gateway manager access Your cloud account or Vault The gateway may read only the credentials the integration covers

Two identities

The resolver and the XSRP gateway have separate identities. The resolver's identity works at its installation-local gateway and is refused by the manager. The gateway's identity is the one the manager accepts, and it remains inside the gateway. Coverage checks both before any project uses the integration.

flowchart TB
  subgraph CP["XRATU CONTROL PLANE"]
    direction LR
    XR["Grants"]
  end
  subgraph DPI["YOUR DATA PLANE INSTALLATION"]
    direction TB
    RES["Resolver<br/>node identity"]
    GW["XSRP gateway<br/>manager identity"]
  end
  subgraph YOU["YOUR MANAGER BOUNDARY"]
    direction LR
    MGR[("Secret manager")]
  end
  XR -->|"grant"| RES
  RES -->|"node identity and grant"| GW
  GW -->|"gateway identity"| MGR
  RES -. "refused" .-> MGR

If one piece is stolen

Stolen What it can do
A block's code Ask for the keys it declared, nothing else
A node's grant Nothing without that node's identity, and nothing after the grant expires or the work moves
A node's identity Reach its local XSRP gateway, which refuses without a current grant; the manager refuses it outright
The XSRP gateway's manager access Read what the gateway's policy allows; keep that policy narrow and the credential short-lived