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.
| Method | Setup Guide | Description |
|---|---|---|
| Workload Identity Federation | Set 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 Secret | Azure App Registration Setup | Create 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
- Connect a Member Subscription: Upgrade individual subscriptions from Subscription Only to All Resources mode for full governance.
- Skip Management Groups and Subscriptions: Exclude specific management groups or subscriptions from discovery.
Authentication at a Glance
| Aspect | Workload Identity Federation | Client Secret |
|---|---|---|
| Secret stored in Guardrails | None | Client Secret stored as an encrypted policy on the tenant |
| Secret rotation | None required | Manual rotation per organizational policy |
| Azure-side setup | One script: creates the federated identity credential and grants Reader RBAC | Two manual steps: create the client secret in the Azure Portal and assign Reader RBAC |
| AWS-side setup | Once per AWS account. SaaS: handled by Turbot. Enterprise: customer runs an enable-outbound-federation script. | None |
| Sovereign cloud support | Yes: 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:
- SaaS customers run a single Azure-side script. Turbot has already enabled AWS outbound federation on the SaaS AWS account, so no AWS-side setup is required from you.
- Enterprise (self-hosted) customers run two scripts in order: an AWS-side script (enables outbound federation, captures the OIDC issuer URL, writes it to SSM) followed by an Azure-side script (creates the federated identity credential, grants Reader RBAC).
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.