Skip to content

Break-glass authority

Some credentials are sensitive enough that a person must approve a project's use of them, for example a production payments key, or signing with a key the organization guards closely. Policy marks these uses, and Xratu holds the project at deploy time until someone with approval rights approves a named exception for a limited time. An approval lets one use go ahead; it never loosens anything else. This page covers when approval is needed, who can approve, and what an approval covers.

When approval is needed

When you deploy, or run xratu secret check project, a use that policy marks as sensitive shows as waiting for approval:

consumer       charge-payment / stripe.charge@2.3.1 / charge / api_key
binding        stripe-production
use policy     ApprovalRequired

The project cannot fetch that credential until the exception is approved. Ordinary uses inside the integration's limits need no approval.

Who can approve

Someone with the approval.decide permission: an owner, admin or operator. When the use is marked sensitive, the person who asked cannot approve their own request. The approval names the use and how long it lasts, and it is recorded with the approver's identity. When the time runs out, the exception ends.

What an approval covers

An approval lets one named use go ahead, within what the integration allows. Everything else applies as usual: the node's identity, its permission for the work it is running, revocation, coverage, the record of every fetch, and your manager's refusal of direct access. An approval cannot turn a reference into a stored value or send a credential any other way.

Open decision

Which approval interface records these decisions is an open design decision. The design names the existing approval authority and the approval.decide permission, and leaves the commands for requesting and deciding a secret-use exception open.