Documentation
Azure permissions
The built-in roles or custom role definition Jetscale requests on Azure, including tenant-scope reservation visibility, for security review.
This page is the reference for the access Jetscale requests on Azure, so your security team can review it before or after the app registration is created. For the connection walkthrough, see the Azure setup guide.
Review the current values supplied by Jetscale before you assign anything here. The Jetscale team provides the role list and any custom role definition for your onboarding; the listings below are a placeholder copy for review.
The grants are made at subscription scope, either with built-in roles or with a custom role, plus one assignment at tenant scope for reservation visibility.
Option A: Built-in roles
| Role | Scope | Grants |
|---|---|---|
| Reader | Subscription | Read access to resource metadata |
| Cost Management Reader | Subscription | Read access to cost and usage data |
| Monitoring Reader | Subscription | Read access to Azure Monitor metrics |
| Carbon Optimization Reader | Subscription | Read access to carbon emission data |
Option B: Custom role
A custom role limits the grant to specific resource providers. The NotActions
block excludes storage account keys and Key Vault secret, key, and certificate
reads.
{
"Name": "Jetscale Read Only Access",
"IsCustom": true,
"Description": "Custom role for Jetscale read only access",
"Actions": [
"Microsoft.Batch/*/read",
"Microsoft.CognitiveServices/*/read",
"Microsoft.Compute/*/read",
"Microsoft.CostManagement/*/read",
"Microsoft.DesktopVirtualization/*/read",
"Microsoft.Insights/*/read",
"Microsoft.Storage/*/read",
"Microsoft.Sql/*/read",
"Microsoft.DBforMySQL/*/read",
"Microsoft.DBforPostgreSQL/*/read",
"Microsoft.DBforMariaDB/*/read",
"Microsoft.Cache/*/read",
"Microsoft.DocumentDB/*/read",
"Microsoft.Databricks/*/read",
"Microsoft.DataFactory/*/read",
"Microsoft.Synapse/*/read",
"Microsoft.MachineLearningServices/*/read",
"Microsoft.Network/*/read",
"Microsoft.ContainerInstance/*/read",
"Microsoft.ContainerService/*/read",
"Microsoft.ContainerRegistry/*/read",
"Microsoft.KeyVault/vaults/read",
"Microsoft.Web/*/read",
"Microsoft.ApiManagement/*/read",
"Microsoft.Cdn/*/read",
"Microsoft.Resources/subscriptions/resourceGroups/read",
"Microsoft.Resources/subscriptions/locations/read",
"Microsoft.RecoveryServices/*/read",
"Microsoft.ServiceBus/*/read",
"Microsoft.SignalRService/*/read",
"Microsoft.Communication/*/read",
"Microsoft.Advisor/*/read",
"Microsoft.Consumption/*/read",
"Microsoft.Commerce/*/read",
"Microsoft.Carbon/*/read"
],
"NotActions": [
"Microsoft.Storage/storageAccounts/listkeys/action",
"Microsoft.Storage/storageAccounts/regeneratekey/action",
"Microsoft.KeyVault/vaults/secrets/read",
"Microsoft.KeyVault/vaults/secrets/*/read",
"Microsoft.KeyVault/vaults/keys/read",
"Microsoft.KeyVault/vaults/keys/*/read",
"Microsoft.KeyVault/vaults/certificates/*/read"
],
"AssignableScopes": ["/subscriptions/[YOUR_SUBSCRIPTION_ID]"]
}
Create and assign it with the Azure CLI:
# Create the custom role definition
az role definition create --role-definition @custom-role.json
# Assign it to the app registration
az role assignment create \
--assignee [APP_CLIENT_ID] \
--role "Jetscale Read Only Access" \
--scope /subscriptions/[SUBSCRIPTION_ID]
Reservation visibility (tenant scope)
Azure reservations live at tenant scope, so they need one assignment outside the subscription-level grants above.
| Role | Scope | Grants |
|---|---|---|
| Reservations Reader | /providers/Microsoft.Capacity | Read access to purchased reservations |
# Assign Reservations Reader at tenant scope
APP_CLIENT_ID=[APP_CLIENT_ID]
OBJECT_ID=$(az ad sp show --id "$APP_CLIENT_ID" --query "id" -o tsv)
az role assignment create \
--role "Reservations Reader" \
--assignee-object-id "$OBJECT_ID" \
--assignee-principal-type ServicePrincipal \
--scope "/providers/Microsoft.Capacity"
The account running that command needs
Microsoft.Authorization/roleAssignments/write at tenant root. A Global
Administrator can self-elevate to get it:
- Sign in to the Azure portal as a Global Administrator.
- Go to Microsoft Entra ID → Manage → Properties.
- Under "Access management for Azure resources", set the toggle to Yes and save.
- Sign out and back in to refresh access.
- Run the
az role assignment createcommand above. - Return to the same Properties page and set the toggle back to No.
What these grants do not include
- Storage account keys, excluded by
NotActionsin the custom role. - Key Vault secrets, keys, and certificates, excluded by
NotActions. - Data inside databases and storage accounts; the read actions cover resource configuration, metrics, and cost data.
Access ends when you remove the role assignments or delete the app registration.
Returning the details
The tenant ID, subscription ID, application (client) ID, and the certificate or client secret go back to the Jetscale team through the secure channel agreed during onboarding, as described in Step 4 of setup. Raise role changes your security review requires with your Jetscale contact before assigning them.
For the access model in conceptual terms rather than the exact role list, see security and trust.