Documentation
Azure setup
Create the Azure app registration Jetscale uses, assign the requested RBAC roles, and return the credentials securely.
This page covers the Azure side of the connection: create an app registration, give it the RBAC roles Jetscale requests, and return the credentials through the secure channel agreed during onboarding.
Ask your Jetscale contact for the current requirements before you begin, including which authentication method to use and which roles to assign. The values and role names below are a placeholder copy for review.
Before you start
- Owner or User Access Administrator on the subscription.
- Azure Cost Management, Azure Advisor, and Azure Monitor available on the subscription.
- Azure portal access, or the Azure CLI installed and signed in.
Step 1: Create the app registration
In the Azure portal, go to Microsoft Entra ID → App registrations → New
registration. Use a single-tenant registration, no redirect URI, and a name you
will recognize later, for example jetscale-readonly-access.
Record these values, which you will return in Step 4:
- Application (client) ID
- Directory (tenant) ID
- Subscription ID
Step 2: Add a credential
Use the credential type your Jetscale contact asks for.
Certificate
# Generate a key pair and certificate
openssl req -x509 -newkey rsa:4096 -keyout jetscale-cert-key.pem \
-out jetscale-cert-public.pem -days 730 -nodes \
-subj "/CN=jetscale-read-access/O=YourOrganization/C=US"
# Convert the public certificate for portal upload
openssl x509 -in jetscale-cert-public.pem -out jetscale-cert.cer -outform DER
Upload jetscale-cert.cer under App registration → Certificates & secrets →
Certificates, then record the thumbprint.
Client secret
Under App registration → Certificates & secrets, create a new client secret and set an expiry that matches your credential-rotation policy. Copy the secret value immediately; Azure shows it only once.
Whichever type you use, plan the rotation before the credential expires, since an expired credential ends the connection.
Step 3: Assign RBAC roles
Assign the roles listed on the Azure permissions page to the app registration at subscription scope, using either the built-in roles or the custom role definition. Compare that list with the one your Jetscale contact supplies and assign that version.
Azure reservations are visible only through an additional assignment at tenant scope, which the permissions page covers.
To cover more than one subscription, assign the same roles to the same app registration on each subscription.
Step 4: Return the credentials
Send the tenant ID, subscription ID, and application (client) ID, together with the certificate or client secret, through the secure channel agreed during onboarding. Encrypt the payload and send the password separately:
# Encrypt the credential file before sending it
gpg --symmetric --cipher-algo AES256 jetscale-azure-creds.json
Never send a client secret or private key in plain email, chat, or a shared document.
Step 5: Verify
Test the credential yourself before treating the account as connected:
# Certificate
az login --service-principal -u [CLIENT_ID] \
--certificate jetscale-cert-key.pem --tenant [TENANT_ID]
# Client secret
az login --service-principal -u [CLIENT_ID] \
-p [CLIENT_SECRET] --tenant [TENANT_ID]
az account show
Then ask your Jetscale contact to confirm the connection and report anything missing, and review the Azure Activity Log to see the service principal's activity in your own audit trail.
Troubleshooting
Authentication failures. Check the tenant ID and client ID, confirm the certificate thumbprint matches the uploaded certificate, and check whether a client secret has expired.
Insufficient permissions. Confirm every requested role is assigned, and that the assignments are at subscription scope rather than resource group scope.
No cost data. Cost Management data can take 24 to 48 hours to appear after the service is first enabled on a subscription.
Related
- Azure permissions — the requested access, in full.
- Security and trust — the access model in conceptual terms.