You will not be able to retrieve the Azure Key Vault components, like keys, certificates, and secrets, if you have not provided the sufficient permissions.- Access configuration permission
To track all of your Azure Key Vault components, ensure that you have configured the below settings for your Key Vault resource in Azure:
- Navigate to the Azure portal and to your Key Vault resource.
- On the left pane, click Settings > Access configuration.
- The Access configuration permission model of your Key Vault should be set to Azure role-based access control (RBAC) (recommended).
- Key Vault Reader permission
The Site24x7 Application which you had created for monitoring should have the Key Vault Reader permission, either at the Azure subscription-level or for the specific Key Vault resource.
To assign the necessary permission,
- Navigate to the Azure portal and to the Resource Group, Subscription or to the Key Vault resource and then click Access control IAM.
- Click + Add and then Add Role Assignment.
- Under Roles, search for Key Vault Reader permission and select it and then click Next.
- In the Members tab, beside Members, click + Select members.
- In the pop-up window, select the Site24x7-associated client application and then click Select.
- Check if the application has been added under Members and then click Review + assign.
Now the application has been provided with the reader permission.