Adding policies to your APIs
Key Takeaways
This video demonstrates how to add policies to APIs in Apigee, specifically rate limiting and assigning message policies, to enforce security controls and customize API behavior.
Full Transcript
how can you add policies to an API proxy in apigee API management to enforce security controls this is the third in a series of introductory videos on apogee API management if you follow the first two you have apogee API management setup and you've created a pass-through proxy you've successfully invoked it now let's extend it in this video we will show you how to add a policy to perform rate limiting we'll see how to update policy configuration and we'll learn about request and response flows and we'll get a quick introduction to the apogee Community a great online resource for getting help let's go [Music] in the apogee UI navigate to the proxy list and the first proxy you created select the overview tab from here undeploy the proxy after that it will no longer be listening for inbound requests [Music] flip to the develop tab to modify the proxy here you can change any of the choices you made previously in the Wizard the base path and the target endpoint and you can add policies in apogee policies are reusable logic steps that perform a specific action on the request these can be enforced on the request flow after the proxy receives the inbound request but before the proxy connects with the target or on the response flow after the proxy receives the response from the target but before it sends that response to the original client let's add a rate limit policy I want apogee to enforce that on the request flow so I'll select the proxy endpoint the request pre-flow and click the icon to add a policy I need to create a new policy here there's a list to choose from all the built-in policy types their policies for caching credential verification Spike arrest threat protection and more each policy has different configuration options let's click the link to find documentation on the quota policy back in the apogee proxy editor I'll add a quota policy to enforce the rate limit each policy gets a name I'll name this one quota one then click create and add it to my flow here I see it displayed in the proxy editor clicking on the link I can see the pre-populated configuration for the quota policy showing lots of options the quota policy in apogee is remarkably flexible based on my reading of the documentation I'm going to replace that configuration with something simpler a basic configuration that tells apogee to allow four requests per minute now save the proxy as a new revision and deploy that revision again this will take a few moments after which the updated proxy will be handling inbound requests now I'll flip to my browser Tab and reload it several times after a few requests you can see that the rate limit gets enforced the error message tells the caller that a limit has been reached foreign if I like I can modify the quota configuration to allow oh maybe 100 requests per minute it's that easy and I can add another policy this one will execute in the response flow I want to add a few headers to the response that the client will receive describing the rate limits we use the assign message policy for that assigned message can manipulate any part of a request or response message including the headers and the documentation page for a sign message gives lots of examples save and deploy the new revision to get this new rate limit and the new response headers now flipping to my terminal window I can invoke the updated proxy from curl and yes we can see the new headers in the response there's a lot of flexibility with apogee if you ever need assistance you can visit the apogee community it's available right here at this icon it provides a knowledge base and a q a forum for all things apogee for example if you have a question on the quota policy it's easy to search or you can post a new question plenty of experts are willing to help you out [Music] let's wrap up in this video you learned about policies as the configurable logic that allows you to enforce controls on your API proxies you saw the proxy editor and you deployed new revisions of proxies with different policies you learned about the quota and assigned message policies and I showed you the apogee Community an invaluable support resource in the next video I'll cover how to add API key verification to an API proxy we'll see you there and don't forget to like And subscribe [Music]
Original Description
Policies help you protect your APIs from unauthorized access, enable you to control their behavior, and much more. In this video, we will show you how to add policies to your APIs in Apigee, how to create an API product, how to add a developer, how to register an app, and even how to call your API with an API key.
Playlist
Uploads from Google Cloud · Google Cloud · 24 of 60
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
▶
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
Top 3 ways organizations are adjusting their cloud strategies to prepare for economic uncertainty
Google Cloud
Google Cloud Retail Search and Browse Console deep dive
Google Cloud
Google Cloud Backup and DR - How to mount, clone or restore a VMware VM
Google Cloud
Google Cloud Backup and DR - VMware vSphere Backup Overview
Google Cloud
Google Cloud Backup and DR - Creating backup Plans for VMware VM backups
Google Cloud
Google Cloud Backup and DR - Compute Engine Instance Backups and Sole Tenant Nodes
Google Cloud
Google Cloud Backup and DR - Managing Service Accounts
Google Cloud
Let’s solve for what’s next
Google Cloud
Google Cloud Executive Briefing Center | Cloud Space | Silicon Valley
Google Cloud
Tinyclues with Google Cloud offers CRM Intelligence to maximize conversions
Google Cloud
Aible partners with Google Cloud helping customers build predictive models within minutes
Google Cloud
TELUS streamlines big data ingestion with help from Google Cloud and Accenture
Google Cloud
Getting started with Apigee API Management
Google Cloud
Google Cloud Retail Search
Google Cloud
Building your first API proxy with Apigee
Google Cloud
Brands and agencies develop dynamic video ads with Connected-Stories NEXT and Google Cloud
Google Cloud
Redefining the transportation industry
Google Cloud
Google Cloud Project Katalyst
Google Cloud
Israel's Family Court: Creating more compelling experiences for its citizens
Google Cloud
Tausight partners with Google Cloud to help healthcare industry protect PHI activity & take action
Google Cloud
Google Cloud Retail Browse
Google Cloud
Verifying API keys and debugging your API proxy flow
Google Cloud
Getting started with Apigee API Management
Google Cloud
Adding policies to your APIs
Google Cloud
Google Cloud Backup and DR - Configuring Google Cloud VMware Engine to work with Backup and DR
Google Cloud
Topaz Subsea Cable
Google Cloud
Episode 29: Building a culture of data literacy with Latin America’s biggest ecommerce platform
Google Cloud
Weshalb Datananalysten die Sparringspartner von Produktmanagern sein sollten
Google Cloud
Warum und wie METRO eine Machine Learning-Pipeline implementiert hat
Google Cloud
Wie nutzt METRO Data Science, um geschäftliche Herausforderungen zu meistern?
Google Cloud
Google Cloud in Qatar. Let's get solving.
Google Cloud
Google Cloud for Qatar
Google Cloud
Doha has a new Google Cloud region
Google Cloud
The new Google Cloud region in Qatar
Google Cloud
Build, tune, and deploy foundation models with Vertex AI
Google Cloud
Generative AI on Google Cloud
Google Cloud
Who will be coming to Google Cloud Day Tel Aviv? #Shorts
Google Cloud
Protect your organization at the edge
Google Cloud
Google Cloud Backup and DR Alert Notifications setup
Google Cloud
Build, tune, and deploy foundation models with Generative AI Support in Vertex AI
Google Cloud
Where the Internet Lives: Data center on the prairie
Google Cloud
Which developer program are you joining?
Google Cloud
Lufthansa Group baut intelligente Systeme zur Vereinfachung des Flugbetriebs
Google Cloud
How ASML revived Moore's Law and remade chipmaking
Google Cloud
CMO of Unity celebrates Women's History Month
Google Cloud
Vint Cerf on Google Cloud Digital Leader
Google Cloud
Mobile World Congress 2023
Google Cloud
Topaz - Canada
Google Cloud
Google Data Cloud & AI Summit 2023: Reveal opportunities to transform your business
Google Cloud
Building a conversational bot with Google Cloud Gen App Builder
Google Cloud
Elisa Polystar and Google Cloud partner to bring the power of analytics and automation to CSPs
Google Cloud
Network modernization - how can CSPs start now?
Google Cloud
How Semios uses imported and remote models for inference with BigQuery ML
Google Cloud
Deliver your AI solutions up to 100 times faster with Google Cloud partner, Snorkel AI
Google Cloud
Capture consumer perspectives for CPG using NLP and analytics with Harmonya and Google Cloud
Google Cloud
Delivering Cloud-Native Network Transformation
Google Cloud
Proactively detect & investigate anomalies & data quality issues in BigQuery with Telmai
Google Cloud
Introducing AlloyDB Omni
Google Cloud
Episode 30: How Auto Trader transitioned to the cloud to analyze tricky customer data
Google Cloud
MongoDB Atlas on Google Cloud
Google Cloud
More on: API Design
View skill →Related Reads
📰
📰
📰
📰
Astro Chat That Starts With Your Kundli, Not a Generic Horoscope
Dev.to AI
The Docs Draft Pipeline: What an AI May Write and What You Must Own
Dev.to · Avery Lin
Operationalizing the Splunk AI Assistant for Faster Triage and SPL Generation
Medium · AI
CIOs are on notice – vSphere 8 times out in October 2027
The Register
🎓
Tutor Explanation
DeepCamp AI