적용 대상: 모든 API Management 계층
When you publish APIs through Azure API Management, it's easy and common to secure access to those APIs by using subscription keys. Client applications that need to consume the published APIs must include a valid subscription key in HTTP requests when they make calls to those APIs. To get a subscription key for accessing APIs, a subscription is required. For more information about subscriptions, see Subscriptions in Azure API Management.
This article walks through the steps for creating subscriptions in the Azure portal.
중요합니다
The Allow tracing setting in subscriptions to enable debug traces is deprecated. To improve security, tracing can now be enabled for specific API requests to API Management. 자세히 알아보기
필수 조건
To take the steps in this article, the prerequisites are as follows:
새 구독 만들기
- Navigate to your API Management instance in the Azure portal.
- In the left menu, under APIs, select Subscriptions>Add subscription.
- Provide a Name and optional Display name of the subscription.
- Select a Scope of the subscription from the dropdown list. 자세히 알아보기
- Optionally, choose if the subscription should be associated with a User and whether to send a notification for use with the developer portal.
- 선택하고생성합니다.
After you create the subscription, it appears in the list on the Subscriptions page. Two API keys are provided to access the APIs. One key is primary, and one is secondary.
관련 콘텐츠
Get more information on API Management: