https://github.com/azure/azure-api-management-policy-toolkit
Azure API Management policy toolkit is a set of libraries and tools to help managing and testing policies.
https://github.com/azure/azure-api-management-policy-toolkit
api-gateway azure azure-api-management policies
Last synced: about 2 months ago
JSON representation
Azure API Management policy toolkit is a set of libraries and tools to help managing and testing policies.
- Host: GitHub
- URL: https://github.com/azure/azure-api-management-policy-toolkit
- Owner: Azure
- License: mit
- Created: 2022-10-28T21:07:21.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-03-17T10:00:03.000Z (2 months ago)
- Last Synced: 2025-03-17T11:53:07.509Z (2 months ago)
- Topics: api-gateway, azure, azure-api-management, policies
- Language: C#
- Homepage:
- Size: 1.15 MB
- Stars: 41
- Watchers: 11
- Forks: 12
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Codeowners: .github/CODEOWNERS
- Security: SECURITY.md
- Support: SUPPORT.md
Awesome Lists containing this project
README
# Azure API Management policy toolkit
**Azure API management policy toolkit** is a set of libraries and tools for authoring [**policy documents**](https://learn.microsoft.com/azure/api-management/api-management-howto-policies) for [**Azure API Management**](https://learn.microsoft.com/azure/api-management/). The toolkit was designed to help **create** and **test** policy documents with complex expressions.
Before the Policy toolkit, policy documents were written in Razor format, which is hard to read and understand, especially when there are multiple expressions. The feedback loop on new documents or even the smallest changes was very long, requiring a live Azure API Management instance, a policy document deployment, and manual testing through the API request.
The policy toolkit changes that. It allows you to write policy documents in C# language, which is more natural and doesn't require you to jump between C# and XML for expression creation. Creating policy documents in C# also brings the advantage of using simple C# code for unit testing of policy documents.
## Documentation
#### Azure API Management policy toolkit documentation for users.
* [Quick start](docs/QuickStart.md)
* [Available policies](docs/AvailablePolicies.md)
* [Solution structure recommendation](docs/SolutionStructureRecommendation.md)
* [Steps for deploying policies created by the policy toolkit](docs/IntegratePolicySolution.md)
* [Integrate policy solution with APIOps](docs/IntegratePolicySolutionWithApiOps.md)#### Azure API Management policy toolkit documentation for contributors.
* [Contributor guide](CONTRIBUTING.md)
* [Development environment setup](docs/DevEnvironmentSetup.md)