The Organization’s Guardrail
Each organization has exactly one guardrail. It starts fromallow * and takes away, so an organization with no guardrail adds no limit.
PUT /v2/iam/guardrail
iam.guardrail.update, granted like any other.
Retiring API Keys
One line retires every API key still in use without touching anything else.Up to Three Guardrails
A request must pass every guardrail that applies to it.- The organization’s own.
- The one its manager organization sets, if it is a managed organization. It binds everyone working there, manager org users included, and only the manager org can change it.
- The requester’s home organization’s, when someone works in another organization through a delegation.
/v2/iam/delegations/{id}/guardrail, or on all of them at /v2/iam/delegation_defaults/guardrail.
Key and Token Rules
A guardrail allows or denies actions and never inspects what a request sets. The one exception is IAM’s own key and token rules in/v2/iam/settings.