azure-api-management

how to increase “call volume quota” for azure apim?

痴心易碎 提交于 2019-12-08 03:45:18
问题 I'm calling a service via a request to Azure APIM and I just received a 403 response with the following error message: "Out of call volume quota. Quota will be replenished in 00:40:14." How can I update APIM or Azure in general to workaround this constraint? 回答1: Use an API management key (product subscription). Without the key you fall into the "Starter" product, which has a call volume quota. https://azure.microsoft.com/nl-nl/documentation/articles/api-management-howto-product-with-rules/

Azure API Manager expose all to public, get rid of Ocp-Apim-Subscription-Key

谁都会走 提交于 2019-12-07 18:16:51
问题 I have some REST API that is proxied over Azure API Management. For some reason I'd like make it available public for all requests. From developer point of view I would like to get rid of setting key in header (or request): Ocp-Apim-Subscription-Key: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX Is it ever possible? 回答1: Create a new product and make sure to unckeck "require subscription" in its settings. Add your api to that product and publish it. Such products are called Open. And any API included in

How to prevent direct access to API hosted in Azure app service

别来无恙 提交于 2019-12-07 16:44:54
问题 I have a backend API that is hosted in Azure app service. I want to use Azure API management as the front end to this backend API and have successfully configured this in Azure. I have configured API management to use OAuth when accessing this backend API which works when clients access the API through the Azure API management endpoints, but how do I prevent people from accessing the backend API endpoints directly so that only calls from the API management endpoints are allowed? 回答1: There

how to increase “call volume quota” for azure apim?

一世执手 提交于 2019-12-06 11:36:30
I'm calling a service via a request to Azure APIM and I just received a 403 response with the following error message: "Out of call volume quota. Quota will be replenished in 00:40:14." How can I update APIM or Azure in general to workaround this constraint? Use an API management key (product subscription). Without the key you fall into the "Starter" product, which has a call volume quota. https://azure.microsoft.com/nl-nl/documentation/articles/api-management-howto-product-with-rules/ The other way is to increase the quota, go to the policies on APIM and select "Starter", there should be a

Manage versioned API in Azure API Manager

喜夏-厌秋 提交于 2019-12-06 11:02:20
I´m looking into host our web API in Azure using an API app. I am using the Azure API Manager in front of the API App to expose the developer portal to some of our consumers. The web API is built in .NET core and it has version support using the URL ( https://example.com/api/v2/controller.. .). I have given it swagger support and one swagger.json is created for each version. These swagger files I use in my ARM templates to set up API Manager and expose this versioned API. When adding a version to API Manager I have to give a path which must be unique for the API Im adding. So for version v1 I

Azure API Management Import API always says: API with specified name already exists

巧了我就是萌 提交于 2019-12-05 23:21:30
问题 I am trying to import an API I have into Azure API Management using swagger, should be fairly simple but I always get the same error: One or more fields contain incorrect values: API with specified name already exists I do not have ANYTHING setup in Azure API management yet, very frustrating. UPDATE I am using Swashbuckle (https://github.com/domaindrivendev/Swashbuckle) to add Swagger to my WebAPI project. It is generating Swagger 2.0 docs. Here is the info element of the Swagger Doc: swagger

Azure Functions and Azure Application Gateway or API Management

我与影子孤独终老i 提交于 2019-12-05 23:06:54
问题 I have several Microsoft Azure functions developed. I would like to use a gateway with firewall to make my Azure functions available and protected using one public IP only. Is there way to use Azure Functions with Azure Application Gateway or API Management? What would be the best approach in this case? 回答1: Azure API management allows you to provide a single access point for all your customers. If you've made a HTTP triggered Azure Function (or any SOAP or REST service for that matter), you

Azure API Manager expose all to public, get rid of Ocp-Apim-Subscription-Key

让人想犯罪 __ 提交于 2019-12-05 21:42:24
I have some REST API that is proxied over Azure API Management. For some reason I'd like make it available public for all requests. From developer point of view I would like to get rid of setting key in header (or request): Ocp-Apim-Subscription-Key: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX Is it ever possible? Create a new product and make sure to unckeck "require subscription" in its settings. Add your api to that product and publish it. Such products are called Open. And any API included in any open product will not require subscription key to be invoked. If API is included into both open and non

How to prevent direct access to API hosted in Azure app service

Deadly 提交于 2019-12-05 20:17:33
I have a backend API that is hosted in Azure app service. I want to use Azure API management as the front end to this backend API and have successfully configured this in Azure. I have configured API management to use OAuth when accessing this backend API which works when clients access the API through the Azure API management endpoints, but how do I prevent people from accessing the backend API endpoints directly so that only calls from the API management endpoints are allowed? There are a few options of various levels of security: Shared secret - set a certain header with a certain value in

Is it possible to make a call to an Azure API Rest url without a subscription key?

删除回忆录丶 提交于 2019-12-05 00:55:52
问题 I just want to be able to do a rest call using Azure Web Api Management without needing to pass the subscription-key in the url. Is that possible? 回答1: Azure API management allows for anonymous subscriptions. Create a Product without requiring a subscription (Product -> Settings -> Require Subscription) Add your API to this product. https://azure.microsoft.com/en-us/documentation/articles/api-management-howto-add-products/ 回答2: You can do this: API Management Portal -> Product -> click a