How to troubleshoot "Error 2304: Failed to read TestCredentials from Credential store type AzureKeyVault (Read only)" error thrown, while fetching credential from Azure Key Vault.
Issue:
"Error 2304: Failed to read TestCredentials from Credential store type AzureKeyVault (Read only)" error while fetching credential from Azure Key Vault
Resolution:
- Make sure that the configuration of Azure Key Vault is done on Azure and Orchestrator as per the official documentation - Azure Key Vault Integration
- The Azure Key Vault should be publicly accessible. This can be verified from the Key Vault -> Networking tab in Azure. In case the access should be restricted to specific IP addresses/networks, make sure that the orchestrator IP address/CIDR range is whitelisted. Refer to the below screenshot.
- For Orchestrator hosted on Automation Cloud, CIDR ranges/IP addresses given in the below document should be whitelisted based on the hosting region. Read Orchestrator - Outbound IP Addresses documentation.