static void validateAzureIdentityConfigs(AzureCloudConfig azureCloudConfig) {
    if (azureCloudConfig.azureIdentityTenantId == null || azureCloudConfig.azureIdentityTenantId.isEmpty()) {
      throw new IllegalArgumentException(
          String.format("%s is null or empty", AzureCloudConfig.AZURE_IDENTITY_TENANT_ID));
    }
    if (azureCloudConfig.azureIdentityClientId == null || azureCloudConfig.azureIdentityClientId.isEmpty()) {
      throw new IllegalArgumentException(
          String.format("%s is null or empty", AzureCloudConfig.AZURE_IDENTITY_CLIENT_ID));
    }
    if (azureCloudConfig.azureIdentitySecret == null || azureCloudConfig.azureIdentitySecret.isEmpty()) {
      throw new IllegalArgumentException(
          String.format("%s is null or empty", AzureCloudConfig.AZURE_IDENTITY_SECRET));
    }
  }
Check that required configs are present for constructing a {@link ClientSecretCredential}.
@param azureCloudConfig the configs.
ambry-cloud/src/main/java/com/github/ambry/cloud/azure/AzureUtils.java