Manage your API Management service instances by using Git

Wednesday, March 9, 2016

The Azure API Management team is excited to announce that you can use Git to help manage your API Management service instances. Each API Management service instance maintains a database that contains information about the configuration and metadata for the service instance. You can make changes to the service instance by changing a setting in the publisher portal, by using a PowerShell cmdlet, or by making a REST API call. In addition to these methods, you can manage your service instance configuration by using Git, enabling service management scenarios such as:
  • Configuration versioning—download and store different versions of your service configuration.
  • Bulk configuration changes—make changes to multiple parts of your service configuration in your local repository and integrate the changes back to the server with a single operation.
  • Familiar Git toolchain and workflow—use the Git tooling and workflows that you are already familiar with.
To manage your service instance by using Git, follow these steps:
  1. Enable Git access in your service.
  2. Save your service configuration database to your Git repository.
  3. Clone the Git repo to your local machine.
  4. Pull the latest repo down to your local machine, and commit and push changes back to your repo.
  5. Deploy the changes from your repo into your service configuration database.
For step-by-step guidance on enabling and using Git access with your API Management service instances, see How to save and configure your API Management service configuration using Git.

Free account

Sign up now and get $200 in Azure credit

Start free

Visual Studio

Subscribers get up to $1800 per year of Azure services

Activate now

Startups

Join the BizSpark program and get free Azure services

Learn more