Search code examples
azureazure-api-apps

Azure API App Questions - Authentication


I have a few questions regarding the new Azure API apps that I haven't been able to find any detail on:

  • Is it possible to protect the swagger endpoint?
  • Is it possible to protect the Azure API app with an API key? Or do i have to do it manually via filters?

Thanks


Solution

  • The swagger endpoint is just a regular endpoint of your API app so the access level and authentication provider apply to this endpoint as well.

    For protecting API app with API key, right now there is no platform support. Could you please propose this idea at http://feedback.azure.com/forums/287595-api-apps?

    Thanks.