1.2.0 • Published 12 months ago
insomnia-plugin-azure-resource-manager-api-tools v1.2.0
Insomnia plugin for Azure Resource Manager
A set of utilities that can be used to query Azure Resource Manager API using Insomnia REST Client:
- Acquires JWT bearer tokens to query Azure Resource Manager
- Lists all available subscriptions and stores the selected subscription as variable
Lists all available resource groups under the selected subscription and stores the selected resource group as variable
Pre-requisites
This plugin is using "@azure/identity" to acquire tokens. You must have any of Azure CLI / Azure Powershell SDK / Visual Studio Credential installed on your machine and logged on.
The logged on user will be used to acquire tokens in this plugin.
Usage
To acquire JWT bearer token:
- Open a new request, in the 'Auth' tab, select
Bearer
, - In the value field type control + space and from the tag menu, select "Azure Identity Token".
To select a subscription and use it as a URL parameter
- In the url, type control + space and from the tag menu, select "AzSubscriptionID"
- Too see all available subscriptions, click on the "AzSubscriptionID" tag. Paste the selected subscription ID in the relevant text box
To select a resource group and use it as a URL parameter
- You first must select a subscription ID using the "AzSubscriptionID" tag
- In the url, type control + space and from the tag menu, select "AzResourceGroup"
- Too see all available resource groups, click on the "AzResourceGroup" tag. Paste the selected resource group in the relevant text box