{"id":20657887,"url":"https://github.com/tarathep/apimtool","last_synced_at":"2026-04-22T06:03:12.387Z","repository":{"id":122466467,"uuid":"575306880","full_name":"tarathep/apimtool","owner":"tarathep","description":"Azure API Management Tool","archived":false,"fork":false,"pushed_at":"2023-12-19T00:10:06.000Z","size":160,"stargazers_count":0,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-17T11:33:22.751Z","etag":null,"topics":["apimanagement","azure","cli-app","cloud","tool"],"latest_commit_sha":null,"homepage":"https://azure.microsoft.com/en-us/products/api-management","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tarathep.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-12-07T08:05:46.000Z","updated_at":"2023-03-13T10:55:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"40c0c314-1ae7-4cbf-a691-15bb5dbf672f","html_url":"https://github.com/tarathep/apimtool","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tarathep%2Fapimtool","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tarathep%2Fapimtool/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tarathep%2Fapimtool/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tarathep%2Fapimtool/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tarathep","download_url":"https://codeload.github.com/tarathep/apimtool/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242768074,"owners_count":20182098,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["apimanagement","azure","cli-app","cloud","tool"],"created_at":"2024-11-16T18:23:52.946Z","updated_at":"2026-04-22T06:03:07.349Z","avatar_url":"https://github.com/tarathep.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# APIM Tool\n\nAzure API Management Tool To support configuration of Microsoft Azure API Management.\n\n![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/tarathep/apimtool)\n![GitHub](https://img.shields.io/github/license/tarathep/apimtool)\n\n![](https://github.com/tarathep/ghmgr/actions/workflows/autobuild.yaml/badge.svg)\n[![Linux](https://svgshare.com/i/Zhy.svg)](https://svgshare.com/i/Zhy.svg)\n[![macOS](https://svgshare.com/i/ZjP.svg)](https://svgshare.com/i/ZjP.svg)\n[![Windows](https://svgshare.com/i/ZhY.svg)](https://svgshare.com/i/ZhY.svg)\n\n\u003cdiv align=\"center\"\u003e\u003cimg src=\"./demo.png\" width=\"70%\"\u003e\u003c/div\u003e\n\n## Using Azure CLI to Sign In\n\nYou could easily use az login in command line to sign in to Azure via your default browser. Detail instructions can be found in Sign in with Azure CLI.\n\n```bash\naz login\n```\n\n## Initialize Environment Variables\n\nBefore to use, you must set `Subscription ID` and `Location` to CLI connect to Azure resource.\n\n|Name|Value|\n|--|--|\n|APIMTOOL_AZURE_SUBSCRIPTION_ID|xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx|\n|APIMTOOL_AZURE_LOCATION|southeastasia|\n\n\n## APIM command directly\n\n### List Backends\n\nList of all Backends from API management\n\n\u003cb\u003eArguments\u003c/b\u003e\n\n```--resource-group``` my resource group from azure\n\n```--service-name``` my service from azure\n\n```bash\napimtool apim backend list --resource-group rg-my-resource-group --service-name apim-my-name\n```\n\n### List APIs\n\nList all API on Azure API Management.\n\n\u003cb\u003eArguments\u003c/b\u003e\n\n```--resource-group``` my resource group from azure\n\n```--service-name``` my service from azure\n\n```-o/--option``` option to view [default :table/list]\n\n```bash\napimtool apim api list --resource-group rg-my-resource-group --service-name apim-my-name -o list\n```\n\n### List APIs Depending on backend\n\n\u003cb\u003eArguments\u003c/b\u003e\n\n```--resource-group``` my resource group from azure\n\n```--service-name``` my service from azure\n\n```--backend-id``` backend-id [table/list]\n\n```--url``` target backend URL\n\n```--protocol``` support 2 types only `{http,soap}`\n\n```bash\napimtool apim backend api depend list --resource-group rg-my-resource-group --service-name apim-my-name --backend-id mybackend --url https://httpbin.org --protocol {http/soap}\n```\n\n### Create Backend\n\nCreate backend on Azure API Management and check duplication before created.\n\n\u003cb\u003eArguments\u003c/b\u003e\n\n```--resource-group``` my resource group from azure\n\n```--service-name``` my service from azure\n\n```--backend-id``` backend-id [table/list]\n\n```--url``` target backend URL\n\n```--protocol``` support 2 types only `{http,soap}`\n\n```bash\napimtool apim backend create --resource-group rg-my-resource-group --service-name apim-my-name --backend-id mybackend --url https://httpbin.org --protocol {http/soap}\n```\n\n## Parser To Support Source to ARM Template\n\nParser Config file JSON to source templates\n\n\u003cb\u003eArguments\u003c/b\u003e\n\n```--resource-group``` my resource group from azure\n\n```--service-name``` my service from azure\n\n```--api-id``` API ID on Azure API Management\n\n```--file-path``` path to file config\n\n\n```bash\napimtool parse --env dev --api-id myapiid --resource-group rg-my-resource-group --service-name apim-my-name [--file-path {./apim-apis-dev/myapiname/myapiname.json}]\n```\n\n## Template (ARM)\n\n### Add Backend into ARM Templates\n\nAdd backend into `backends.template.json` and check validate IP target.\n\n\u003cb\u003eArguments\u003c/b\u003e\n\n```--resource-group``` my resource group from azure\n\n```--service-name``` my service from azure\n\n```--backend-id``` Backend ID on Azure API Management\n\n```bash\napimtool template backend create --resource-group rg-my-resource-group --service-name apim-my-name --backend-id hello --url https://tarathep.com --protocol http\n```\n\n### Export Backend ARM Template from APIM\n\nExport configuration and create `backends.template.json` from source APIM.\n\n\u003cb\u003eArguments\u003c/b\u003e\n\n```--resource-group``` my resource group from azure\n\n```--service-name``` my service from azure\n\n```--backend-id``` Backend ID on Azure API Management\n\n```bash\napimtool template backend export --resource-group rg-my-resource-group --service-name apim-my-name\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftarathep%2Fapimtool","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftarathep%2Fapimtool","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftarathep%2Fapimtool/lists"}