May I use Azure API Gateway(API Management) to manager my api's access permissions

(Neusoft)龍 挙兵(Ryuu.Kixyoheyi) 121 Reputation points
2021-10-25T08:49:03.357+00:00

my web app supply same apis.
such as
/api/xxx/url1,
/api/xxx/url2,
...
/api/yyy/url1
/api/yyy/url2
...
/api/zzz/url1

May I Can use azure api gateway to manger the api's access permissions base on RBAC.
such as .
create a role role1, with the access permissions (api/xxx/url1, api/xxx/url2)
a role role2, with the access permissions (api/yyy/url1, api/yyy/url2,... api/zzz/url1)

Best wishes~

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
1,779 questions
0 comments No comments
{count} votes

Accepted answer
  1. MayankBargali-MSFT 68,656 Reputation points
    2021-10-25T11:51:34.277+00:00

    @Anonymous RBAC roles are at the Azure subscription level where you define the permission to the user for different operations over your Azure subscription. Whereas APIM APIs are created at the APIM level and to Consume the published APIs you need to pass the valid subscription key in the HTTP requests when calling to those APIs. Without a valid subscription key, the calls will be rejected immediately by the API Management gateway and the request will not be forwarded to the back-end services. You can refer to APIM subscription document for more details.

    In nutshell, you cannot use RBAC permission to authenticate the APIM APIs.

    0 comments No comments

0 additional answers

Sort by: Most helpful