简体   繁体   English

企业版Azure API管理使用模式

[英]Azure API Management Usage Pattern for Enterprise

Consider the following scenario: 请考虑以下情形:

  • I have a 100 people in one org with 4 divisions 我在一个拥有4个部门的组织中有100个人
  • I create on Azure API Management instance 我在Azure API管理实例上创建
  • All 100 people are developing APIs and adding them to this single API management instance 全部100个人正在开发API,并将其添加到此单个API管理实例中

Can I achieve following? 我可以实现关注吗? If yes, how? 如果是,怎么办?

I want to group the APIs by those 4 division. 我想按这4个部门对API进行分组。 Allow access of APIs only if it is added by people in their division. 仅在其所属部门的人员添加API的情况下才允许访问API。 When I say allow access, basically I mean search the APIs and call the APIs. 当我说允许访问时,基本上是指搜索API并调用API。

You can achieve this by using "Groups". 您可以通过使用“组”来实现。 First, you need to have a group per division. 首先,您需要每个部门有一个小组。 You can either manually create the groups and add users to them or if you use Azure Active Directory and enable developers to login with AAD to the portal, then their existing group membership will also be available to use. 您可以手动创建组并向其中添加用户,或者如果您使用Azure Active Directory并使开发人员能够通过AAD登录到门户,则也可以使用其现有的组成员身份。

Once you have the group set up you need to have a product for each group. 建立小组后,您需要为每个小组都有一个产品。 You can set the visibility settings of the product so that only members of a given group can see it. 您可以设置产品的可见性设置,以便只有给定组的成员才能看到它。 Then you can set which APIs the product contains and thus complete the mapping of groups to APIs. 然后,您可以设置产品包含的API,从而完成组到API的映射。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM