Connect an Azure Tenant

Connecting an Azure Tenant to Turbot Guardrails discovers your full management group hierarchy and all subscriptions automatically, and gives you granular control over which subscriptions to govern, from lightweight subscription-level visibility through to full resource discovery and remediation.

Step 1: Choose an Authentication Method

Pick one. Workload Identity Federation is recommended for new deployments. It provides keyless authentication with no client secret to manage or rotate.

MethodSetup GuideDescription
Workload Identity FederationSet Up Workload Identity Federation(Recommended) Keyless authentication. The Guardrails AWS account federates to your Entra ID App Registration. No client secret crosses the cloud boundary.
Client SecretAzure App Registration SetupCreate a Client Secret on your App Registration. Guardrails stores it encrypted as a policy.

Step 2: Run the Connect Wizard

Run the wizard matching the method from Step 1:

Step 3: Manage Subscriptions

Authentication at a Glance

AspectWorkload Identity FederationClient Secret
Secret stored in GuardrailsNoneClient Secret stored as an encrypted policy on the tenant
Secret rotationNone requiredManual rotation per organizational policy
Azure-side setupOne script: creates the federated identity credential and grants Reader RBACTwo manual steps: create the client secret in the Azure Portal and assign Reader RBAC
AWS-side setupOnce per AWS account. SaaS: handled by Turbot. Enterprise: customer runs an enable-outbound-federation script.None
Sovereign cloud supportYes: Global, US Government, China (federated credential audience differs per cloud)Yes

SaaS vs Enterprise

For Workload Identity Federation, the setup differs slightly between Guardrails SaaS and self-hosted Enterprise deployments:

The wizard auto-detects your installation type and shows the right flow. See the WIF setup guide for details.

For Client Secret, the setup is the same in both SaaS and Enterprise. You create a Client Secret on your App Registration and paste it into the wizard.

Management Group Event Pollers

Guardrails uses Management Group event pollers to detect new, updated, or deleted subscriptions in the management group hierarchy. Pollers are enabled by default. No action is required. See Management Group Event Polling for configuration details.