Ehsan Mirsaeedi
Ehsan Mirsaeedi

Reputation: 7592

Using Azure CLI to manage API Management (APIM) Users, Products, Certificates, APIs

It seems that this page contains all the functionality that Azure CLI supports in regard to Azure API Management. But it doesn't show how to manage entities such as users, products, certificates, subscriptions, and APIs using Azure CLI.

Does Azure CLI lack these functionalities or is there a way to manage those entities using Azure CLI? Can Azure CLI be considered as a replacement for ARM templates in the case of APIM?

Upvotes: 3

Views: 3478

Answers (3)

Jorn.Beyers
Jorn.Beyers

Reputation: 2054

The Azure CLI currently seems to support this, see here for Microsoft docs. Make sure you upgrade your CLI to the latest version to be able to leverage this.

To get the CLI docs:

az apim --help

Upvotes: 0

Jim Xu
Jim Xu

Reputation: 23111

According to my research, the Azure CLI API management command is in preview. SO it will miss some commands. For more details, please refer to the document. So if you want to manage Azure API management entities such as users, products, certificates, subscriptions, and APIs, I suggest you use Azure PowerShell to do that : https://learn.microsoft.com/en-us/powershell/module/az.apimanagement/?view=azps-3.0.0. enter image description here

Upvotes: 2

Samir
Samir

Reputation: 679

Azure CLI is missing those. Please raise on aka.ms/apimwish

Upvotes: 2

Related Questions