Skip to content

Commit 3d2a241

Browse files
committed
back out subscription update
1 parent 61e8a88 commit 3d2a241

File tree

1 file changed

+7
-10
lines changed

1 file changed

+7
-10
lines changed

articles/api-management/api-management-subscriptions.md

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ services: api-management
55
author: dlepow
66

77
ms.service: azure-api-management
8-
ms.topic: concept-article
9-
ms.date: 08/30/2024
8+
ms.topic: conceptual
9+
ms.date: 08/02/2023
1010
ms.author: danlep
1111
ms.custom: engagement-fy23
1212
---
@@ -142,8 +142,6 @@ When API Management receives an API request from a client with a subscription ke
142142

143143
If a valid key for an active subscription at an appropriate scope is provided, access is allowed. Policies are applied depending on the configuration of the policy definition at that scope.
144144

145-
1. Check if the API requires a subscription. If the API doesn't require a subscription, handle the request in the context of the API and operation.
146-
147145
1. Otherwise, access is denied (401 Access denied error).
148146

149147
### API request without a subscription key
@@ -162,20 +160,19 @@ The following table summarizes how the gateway handles API requests with or with
162160
|All products assigned to API require subscription |API requires subscription |API call with subscription key |API call without subscription key | Typical scenarios |
163161
|---------|---------|---------|---------|----|
164162
|✔️ | ✔️ | Access allowed:<br/><br/>• Product-scoped key<br/>• API-scoped key<br/>• All APIs-scoped key<br/>• Service-scoped key<br/><br/>Access denied:<br/><br/>• Other key not scoped to applicable product or API | Access denied | Protected API access using product-scoped or API-scoped subscription |
165-
|✔️ || Access allowed:<br/><br/>• Product-scoped key<br/>• API-scoped key<br/>• All APIs-scoped key<br/>• Service-scoped key<br/>• Other key not scoped to applicable API | Access allowed (API context) | • Protected API access with product-scoped subscription<br/><br/>• Anonymous access to API. If anonymous access isn't intended, configure API-level policies to enforce authentication and authorization. |
166-
|❌<sup>1</sup> | ✔️ | Access allowed:<br/><br/>• Product-scoped key<br/>• API-scoped key<br/>• All APIs-scoped key<br/>• Service-scoped key<br/>• Other key not scoped to applicable product | Access allowed (open product context) | • Protected API access with API-scoped subscription<br/><br/>• Anonymous access to API. If anonymous access isn't intended, configure with product policies to enforce authentication and authorization |
167-
|❌<sup>1</sup> || Access allowed:<br/><br/>• Product-scoped key<br/>• API-scoped key<br/>• All APIs-scoped key<br/>• Service-scoped key<br/><br/>• Other key not scoped to applicable product or API | Access allowed (open product context) | Anonymous access to API. If anonymous access isn't intended, configure with product policies to enforce authentication and authorization |
163+
|✔️ || Access allowed:<br/><br/>• Product-scoped key<br/>• API-scoped key<br/>• All APIs-scoped key<br/>• Service-scoped key<br/><br/>Access denied:<br/><br/>• Other key not scoped to applicable product or API | Access allowed (API context) | • Protected API access with product-scoped subscription<br/><br/>• Anonymous access to API. If anonymous access isnt intended, configure API-level policies to enforce authentication and authorization. |
164+
|❌<sup>1</sup> | ✔️ | Access allowed:<br/><br/>• Product-scoped key<br/>• API-scoped key<br/>• All APIs-scoped key<br/>• Service-scoped key<br/><br/>Access denied:<br/><br/>• Other key not scoped to applicable product or API | Access allowed (open product context) | • Protected API access with API-scoped subscription<br/><br/>• Anonymous access to API. If anonymous access isnt intended, configure with product policies to enforce authentication and authorization |
165+
|❌<sup>1</sup> || Access allowed:<br/><br/>• Product-scoped key<br/>• API-scoped key<br/>• All APIs-scoped key<br/>• Service-scoped key<br/><br/>Access denied:<br/><br/>• Other key not scoped to applicable product or API | Access allowed (open product context) | Anonymous access to API. If anonymous access isnt intended, configure with product policies to enforce authentication and authorization |
168166

169167
<sup>1</sup> An open product exists that's associated with the API.
170168

171169
### Considerations
172170

173171
- API access in a product context is the same, whether the product is published or not. Unpublishing the product hides it from the developer portal, but it doesn’t invalidate new or existing subscription keys.
174-
- If a product associated with the API or the API doesn't require a subscription, any subscription key may be passed in the request and will be ignored.
172+
- Even if a product or API doesn't require a subscription, a valid key from an active subscription that enables access to the product or API can still be used.
175173
- API access "context" means the policies and access controls that are applied at a particular scope (for example, API or product).
176174

177-
## Related content
178-
175+
## Next steps
179176
Get more information on API Management:
180177

181178
+ Learn how API Management [policies](set-edit-policies.md#configure-policies-at-different-scopes) get applied at different scopes.

0 commit comments

Comments
 (0)