Azure API Management Flashcards
API Management
What are the possible tiers(sku) and their associated costs?
Developer at 33,75$ p/m Basic at 103,21$ p/m Standard at 481,66$ p/m Premium 1961,76$ p/m Consumption(Premium)
What is API Management?
APIM helps organizations publish APIs to external, partner, and internal developers to unlock the potential of their data and services. Businesses everywhere are looking to extend their operations as a digital platform, creating new channels, finding new customers and driving deeper engagement with existing ones.
API Management provides the core competencies to ensure a successful API program through developer engagement, business insights, analytics, security, and protection. You can use Azure API Management to take any backend and launch a full-fledged API program based on it.
It is basically a Gateway for Integration to various services and users.
API Management
When a user or company connects to the API Management service…
They obtain a subscription. This subscription is used to help manage incoming requests.
Once you have ingested these APIs you can create…
different products
Azure API Management offers a flexible way to…
version, test and publish API’s to internal and external users
Benefits of Azure API Management
Freedom of language of choice Scalable Limited access or number of calls Offload security Insights for performance and troubleshooting
What is Postman?
Allows you to share API, orchestrate API requests and troubloeshoot issues
Reorder these:
Create GetSession Request with Subscription Key in Postman
Capture Subscription Key
Import XXXX API from publisher
Create API Management Service in Azure Portal
Create a user in Portal
Test call to Get Session in Azure Portal
- Create API Management Service in Azure Portal
- Import XXXX API from publisher
- Capture Subscription Key
- Create a user in Portal
- Test call to Get Session in Azure Portal
- Create GetSession Request with Subscription Key in Postman
What Authentication services can be used to access API?
Azure AD Azure B2C Facebook Google Microsoft Twitter
APIM has some features to help secure APIs using…
OpenID Connect or OAuth 2.0
What is OAuth?
A user can obtain a token which they give to an app to use as proof of identity. This token is called a Bearer token
What’s an Authorization code flow?
An authorization code flow is when a client obtains a user’s approval and gets an authorization code that can be exchanged for an access token which is used to gain access to privileged resources.
What are the eight steps in the OAuth flow for Authorization Process
First, the process will be initiated by the user trying to get into a client application. Second, the client will redirect the user to an authorization server that they trust. Third, the user will log into the authorization server with their username and password. Fourth, the authorization server will validate the user’s credentials and redirect them to the client application to the reply or callback URL with an authorization token. Fifth, the browser hands the authorization token to the client application. Sixth, the client application will send the authorization token to the authorization server, to the token endpoint, and get an access token. It will also gain a refresh token. Seventh, the application will submit the access token to the resource server. Eighth, the resource server will validate the access token and will allow the client application access to the resource.
What are API Policies and uses
A key strength of APIM is that it allows you to apply policies to change the behavior of the API. The policies can be applied on different attributes, like the subscription or data types returned and much more. The policies allow publishers to control or manipulate the requests or the various data at different stages.
Securing your API by requiring an OAuth token,
Converting XML to JSON or JSON to XML,
Rate limiting the number of requests based on the specific subscription, or simply Changing header values and callback URLs
How can I delete specific header data or URL coming back from the API call?
By modifying Outbound policy for the specific Global / Product / API / Operation