Securing your API in Azure API Management
We have previously discussed how it is possible to organize APIs in products with those products further refined through the use of policies.
Access to and visibility of products is controlled through the use of groups and developer subscriptions for those APIs requiring subscriptions.
In most enterprise scenarios where you are providing access to some line of business system on-premises, it is necessary to provide sufficient security on the API endpoint to ensure that the solution remains compliant.
There are a number of ways to achieve this level of security using Azure API Management, such as using certificates, Azure Active Directory, or extending the corporate network into Microsoft Azure using a Virtual Private Network (VPN), and creating a hybrid cloud solution.
Securing your API backend with mutual certificates
Certificate exchange allows Azure API Management and an API to create a trust boundary based on encryption that is well understood and easy to use.
In this scenario, because Azure API Management is communicating with an API that has been provided, a self-signed certificate is allowed as the key exchange for the certificate is via a trusted party.
For an in-depth discussion on how to configure mutual certificate authentication to secure your API, please refer to the Azure API Management documentation ( https://azure.microsoft.com/en-us/documentation/articles/api-management-howto-mutual-certificates/ ).
Securing your API backend with Azure Active Directory
If an enterprise already uses Azure Active Directory to provide single or same sign-on to cloud-based services, for instance, on-premises Active Directory synchronization via ADConnect , then this provides a good opportunity to leverage Azure Active Directory to provide a security and trust boundary to on-premises API solutions.
For an in-depth discussion on how to add Azure Active Directory to an API Management instance, please see the Azure API Management documentation ( https://azure.microsoft.com/en-us/documentation/articles/api-management-howto-protect-backend-with-aad/ ).
VPN connection in Azure API Management
Another way of providing a security boundary between Azure API Management and the API is managing the creation of a VPN.
A VPN creates a tunnel between the corporate network edge and Azure, essentially creating a hybrid cloud solution. Azure API Management supports site-to-site VPNs, and these are created using the Azure Classic Portal.
If an organization already has an ExpressRoute circuit provisioned, this can also be used to provide connectivity via private peering.
Because a VPN needs to communicate to on-premises assets, a number of firewall port exclusions need to be created to ensure the traffic can flow between the Azure API Management instance and the API endpoint. These are shown in the following table: only those ports relating to APIs on-premises need to be opened, not all the ports in the table.
- 亮劍.NET:.NET深入體驗(yàn)與實(shí)戰(zhàn)精要
- PPT,要你好看
- 空間機(jī)器人遙操作系統(tǒng)及控制
- 離散事件系統(tǒng)建模與仿真
- 大數(shù)據(jù)技術(shù)入門(第2版)
- 機(jī)艙監(jiān)測(cè)與主機(jī)遙控
- 自主研拋機(jī)器人技術(shù)
- 統(tǒng)計(jì)策略搜索強(qiáng)化學(xué)習(xí)方法及應(yīng)用
- 21天學(xué)通Java Web開發(fā)
- Moodle Course Design Best Practices
- 愛犯錯(cuò)的智能體
- 電腦上網(wǎng)輕松入門
- PowerMill 2020五軸數(shù)控加工編程應(yīng)用實(shí)例
- 計(jì)算機(jī)硬件技術(shù)基礎(chǔ)學(xué)習(xí)指導(dǎo)與練習(xí)
- Kubernetes Design Patterns and Extensions