Getting StartedConnecting Your Cloud Account
Connecting Your Azure Account
CloudRift connects to your Azure tenant via a Service Principal — a secure, scoped identity that gives CloudRift read/write access only to what it needs.
Step 1: Create a Service Principal
Run these commands in Azure CLI or Cloud Shell:
# Create the Service Principal
az ad sp create-for-rbac --name "CloudRift" --role Contributor \
--scopes /subscriptions/{your-subscription-id}
# Output: appId (client_id), password (client_secret), tenant (tenant_id)Step 2: Grant Required Permissions
For full CloudRift functionality, assign these roles:
| Role | Why It's Needed |
|---|---|
| Contributor | Scan, resize, delete resources, deploy IaC |
| Desktop Virtualization Contributor | Deploy AVD/WVD environments |
| Virtual Machine Contributor | Resize and manage VMs |
| User Access Administrator | Read RBAC assignments for governance |
# Assign Contributor (minimum required)
az role assignment create --assignee {appId} \
--role Contributor \
--scope /subscriptions/{subscription-id}Step 3: Add the Account in CloudRift
Step 4: Run Your First Scan
After connecting, click Scan to discover all resources. Scans typically take 30–90 seconds depending on the size of your environment.
---
Connecting Your AWS Account
AWS uses Access Keys or an IAM Role for authentication.
Creating an IAM User
In CloudRift: Admin → Cloud Accounts → + Connect Account → AWS