Search code examples
azurepowershellazure-api-management

Azure API Management: How to create the Authorization or credential provider using PowerShell or Azure CLI?


I want to create the Authorization or credential provider in Azure API Management using PowerShell or Azure CLI. However, I don't see any options to do so. Can you suggest?

enter image description here


Solution

  • I have gone through the Powershell/AzCLI cmdlets for Azure API Management didn't find any cmdlet related to credential manager.

    To achieve this, you can call the Azure Management REST API for AuthorizationProvider - Create or Update using the Invoke-AzRestMethod.