Azure - Generate Credentials
Azure Key Vault will generate two keys for the secret: an access key and a secret key. The access key is used to access the secret in Azure Key Vault. The secret key is used to encrypt and decrypt the secret.
You can also generate access keys and secret keys using the Azure CLI or the Azure PowerShell.
Generate Credentials
The steps to link your Azure Account in DeployPRO are a bit more detailed, as you have to locate the following keys and their corresponding values:
tenant_id
client_id
client_secrete
subscription_id
Follow the provided steps to obtain the required credentials:
- Go to the Azure Portal and sign in using your Microsoft Account.
- In the Azure Portal, use the search bar to find
App registration
and then click onNew registration
. - Provide a name for the app and select the supported account types. In this case is
Accounts in any organizational directory (Any Microsoft Entra ID tenant - Multitenant)
- After creating the registration, you will be provided with an
Application (client) ID
andDirectory (tenat) ID
. Take note of this, as you'll need it later. - In the same app registration page, navigate to
Add a certificate or secret
. - Under the
Client secrets
section, click onNew client secret
. - Provide a description, select an expiration, and click
Add
. - Make sure to note down the generated column
value
immediately, as it will not be visible later. This will be theclient_secrete
. - In the Azure Portal, navigate back to Azure Active Directory (home).
- Use the search bar to find
Subscriptions
. Then, you will see a columnSubscription ID
. That will be yoursubscription_id
. - Then click on
Azure Subscriptions
. In theAzure Subscriptions
page, navigate toAccess control (IAM) Menu
and then click onAdd
button. - Choose
Add role assignment
. - Hover to
Privilaged adminsitrator roles
and then selectContributor
then proceed by click onNext
. - On the
Members
row, click onSelect Members
and look for the the app you have registered in the first step. - Proceed the form by click
Select
. - Last, click
Review + Assign
✅ Resources
- 👉 Deploy Projects using your preferred provider:
AWS
,DigitalOcean
,Azure
, and GCP (soon) - 👉 Get Deployment Support from the team behind this service
- 👉 Join the Community and chat with the team behind
DeployPRO