Azure Portal
Last updated
Last updated
The recommended method to create your credentials is using Powershell. It can be run locally or directly from the Azure Portal, and offers a much simpler approach.
There are quite a few steps required to allow Hava to access your Azure resources using the Azure Portal.
To allow Hava to import your Azure account you will need to provide access by creating an Active Directory (Microsoft Entra ID) application and assigning read-only permissions to it. To create Entra ID applications you will need admin access to the Azure account.
Using the search bar in the Azure Portal interface, search for Entra ID
Click and open Microsoft Entra ID from the search results
Select App Registration
from the left side menu within Azure Active Directory
Click + New registration
Enter the following details to register the application.
Name: Hava
Application Type: Web
Redirect URI: https://app.hava.io/login
Click Register
This will step you through adding a role for the application at the subscription level; this will grant Hava access to read everything in your account but not make any changes. You can also apply the access to a specific resource group or groups, or even individual resources - Hava will only draw the resources you give it access to.
Using the top search bar, Search for Subscriptions
Click and open Subscriptions from the search results
Select the subscription you would like to assign access to by clicking it.
1. On the left menu click Access control (IAM)
2. Click + Add
3. Then Add role assignment
4. Set role to Reader
5. Select - Type in Hava
now select Hava from the search results, and this should now be added to Selected members:
6. Click Review + Assign
You will need four separate parameters to give Hava access to your account, first off is the subscription ID.
While still in the Subscriptions
section.
1. Navigate to Overview
2. Copy the Subscription ID
and paste into Hava.
Search for Entra ID
Open Microsoft Entra ID
Click App Registrations
from the side menu
Click and open Hava
from the app registration list.
Here you will find the Application ID
and Tenant ID
to copy and paste into Hava.
1. Application ID 2. Directory Tenant ID
Click on Certificates & secrets
Add + New client secret
Description HavaAccessKey
or any other description you like.
Set Expires to 24 Months
Click Add
6. Copy and paste the Secret Key Value
into Hava
In Hava add source, select the Azure tab
Field 1 (Subscription ID) - Enter the Azure Subscription ID
Field 2 (Tenant ID) - Enter the Azure Hava App Directory Tenant ID
Field 3 (Client ID) - Enter the Azure Hava Application (Client) ID
Field 4 (Secret Key) - Enter the Azure Hava App Secrets access key Value
Choose a project (or set to Default)
Enter a name for the new source
Click Import and the environment import will start.