API Authentication via API Keys | AWS API Gateway

  Рет қаралды 70,965

Felix Yu

Felix Yu

Күн бұрын

Пікірлер: 57
@grassrootsdefi7522
@grassrootsdefi7522 3 жыл бұрын
Felix, well done. Your presentation is clear, concise, and we can feel you at your ease. A+
@FelixYu
@FelixYu 3 жыл бұрын
glad that it helped :)
@blackboy424
@blackboy424 8 ай бұрын
damn usage plan portion had me stuck for an hour today! Thanks for the video o
@BroGu
@BroGu Жыл бұрын
No wonder. I didn't realize I needed to set up an usage plan. Although the documentation does have this section under "distribution", I didn't think about setting it up during the development phase. Thank you very much for your video!
@FelixYu
@FelixYu Жыл бұрын
Glad that u found it helpful!!
@ColdFireInBox
@ColdFireInBox 3 жыл бұрын
Great tutorial Felix. This is what I was looking for
@AnilAnil-zu4qm
@AnilAnil-zu4qm Жыл бұрын
Wow what a explaination. You got a subscriber. Thanks dude.
@joshb.9380
@joshb.9380 3 жыл бұрын
Thanks for making this follow-up video. Very helpful!
@albert_the_project
@albert_the_project Жыл бұрын
Great tutorial. Very clear all steps.
@FelixYu
@FelixYu Жыл бұрын
Glad that u found it helpful!!
@JordiVicensFarrus
@JordiVicensFarrus 2 жыл бұрын
Love your videos, thanks for giving me a better idea of how AWS works.
@FelixYu
@FelixYu 2 жыл бұрын
Glad that u found them helpful :)
@Fabrimanga89
@Fabrimanga89 3 ай бұрын
Hi Felix, thanks for the video, very helpful. One question, say I have 100 different endpoints with a GET and POST method for each. What's the best way to apply the API key to each Method Request? Using the SDK? Doing it manually one by one is not feasible for big apps.
@brucevwilcox1002
@brucevwilcox1002 2 жыл бұрын
Very helpful. Thanks for producing this.
@FelixYu
@FelixYu 2 жыл бұрын
Glad that u found it helpful!!
@meenu2511
@meenu2511 3 жыл бұрын
Thanks bro, simple and short.
@mario17-t34
@mario17-t34 Жыл бұрын
Thanks much, is x-api-key is a reserved word ?
@SamuelCarreira
@SamuelCarreira 3 жыл бұрын
Nice tutorial, there’s a way to get the number of request left for that API key? Example, define a quota of 100 API calls per month and sends to the user how many he has left Thanks
@danielhalmstrand2123
@danielhalmstrand2123 2 жыл бұрын
Thank you Felix for a great tutorial....
@FelixYu
@FelixYu 2 жыл бұрын
Glad that it’s helpful
@ssthil1
@ssthil1 Жыл бұрын
It really helped, thanks for it, appreciated! 👍
@bjblk1
@bjblk1 2 жыл бұрын
Felix, awesome video. Thank you very much.
@FelixYu
@FelixYu 2 жыл бұрын
Glad that u found it helpful!!
@CMDying
@CMDying 2 жыл бұрын
Great work. Really well details video - Thanks for this.
@FelixYu
@FelixYu 2 жыл бұрын
glad that u found it helpful 👍
@webpro9083
@webpro9083 2 жыл бұрын
Hello, thanks for the turorial. Is there a way to create the client API key using aws SDK?
@rcdag-b5z
@rcdag-b5z Жыл бұрын
thank you so much, it helped me a lot this video!
@richardq16
@richardq16 2 жыл бұрын
Awesome!! how can you hide the key when invoking the service from the front? because it appears when I inspect the page.
@akultomar7328
@akultomar7328 Жыл бұрын
Did you figure this out?
@AmanBhangu
@AmanBhangu Жыл бұрын
Thanks a lot Felix!
@janivimal
@janivimal Жыл бұрын
10/10
@debasishchakraborty7526
@debasishchakraborty7526 2 жыл бұрын
nice presentation. now, how could I add this API-key to my code? And if I do (for example App.js using React) then doesn't this key will be exposed? Sorry, it might be a very naive one. I am quite new to aws.
@nicanormedina6900
@nicanormedina6900 2 жыл бұрын
You are god. Thanks.
@FelixYu
@FelixYu 2 жыл бұрын
Tyty glad that u found it helpful!!
@christianechica4270
@christianechica4270 2 жыл бұрын
During patch or delete you will get "message": "Missing Authentication Token
@akultomar7328
@akultomar7328 Жыл бұрын
@Felix Yu Is there a way I can restrict unknown bot clients if the bot creator copies the x-api-key value from their browser and use it in the shell script and invoke api gateway via cURL?
@한진영-o5q
@한진영-o5q 2 жыл бұрын
Hey , I am making a phone number locator. I used OpenCageData for API key. The program i am making is just a file on my computer, I am not intending to use it on any website or anything. Do I have to encrypt or restrict the API key? and another question, I am not finding any way to restrict in OpenCage like in Google. (A subscription is needed to do that.) I am using Latitude and Longitude coordinates for locating on the maps. Can I use Google cloud services instead of OpenCage for that?
@VarunKumar-ql6zn
@VarunKumar-ql6zn Жыл бұрын
Thanks
@valirjonathan2161
@valirjonathan2161 3 жыл бұрын
Nice. Can you do an TODO app with user registration and login with API Gateway and DynamoDB?
@FelixYu
@FelixYu 3 жыл бұрын
Thank you for the suggestions. I’ll certainly look into it!!!!
@valirjonathan2161
@valirjonathan2161 3 жыл бұрын
@@FelixYu Great. I have been looking for a tutorial with a authentication and authorization before users can do something with the app. Looking forwards to it.
@navjotsingh2457
@navjotsingh2457 Жыл бұрын
ty
@DouglasGouveia
@DouglasGouveia 4 ай бұрын
In my test error message: "Missing Authentication Token
@FelixYu
@FelixYu 4 ай бұрын
did u deploy the API to a stage (new or existing one)
@rolandochew8399
@rolandochew8399 2 жыл бұрын
What happend if we have an Apikey by Secrets Manager, how we can test it?
@jjs1079
@jjs1079 3 жыл бұрын
Thanks for the great tutorials! I followed your tutorials and managed to host my frontend app in cloudFront(with S3) and created api gateway using lambda. Last task is fetching data from the endpoint from my app. I wondering if there is a way to hide api key in the frontend app? Having api key seems safe to use in postman but I can't think a way to hide it in the app🤔
@FelixYu
@FelixYu 3 жыл бұрын
Thats a great question. i dont think we should store api keys in the frontend (not even the .env file) becuz it will go into the build files and users can see everything from the browser. i think the best way to handle that may be having 2 separate api's. one api handles the authentication (i.e., users sign in), which doesnt require an api key cuz anyone can try to log in from the web page. and then after a successful login, this api will call a second api (using an api key) to fetch data from the database and serve it back to the client. i have a separate video that talks abt authentication in react. note that i think i used an api directly in the frontend there. thats is for tutorial/demo purposes only. we shouldnt do that in production kzbin.info/www/bejne/iJaxnIRmjdCWmdk
@akultomar7328
@akultomar7328 Жыл бұрын
@@FelixYu Is there a way I can restrict unknown bot clients if the bot creator copies the x-api-key value from their browser and use it in the shell script and invoke api gateway via cURL?
@Control433
@Control433 2 жыл бұрын
Hi, I have a question how do I use the API key in my code? I understand how to access the API in postman, but if I want to push json data to my front end where do i put the header information?
@FelixYu
@FelixYu 2 жыл бұрын
i have a diff video that talks abt how to integrate that into the frontend. make sure u check out part 1 as well so u know how to enable cross site access kzbin.info/www/bejne/iJaxnIRmjdCWmdk
@Control433
@Control433 2 жыл бұрын
​@@FelixYu What if I want to do it in the backend though? The front end isn't safe because I'm trying to make a public facing application. Basically, I don't know how to pass an http header parameter (the api key) through Javascript. Sorry, if I'm asking too many questions. Your videos are awesome!
@arefinhossain9758
@arefinhossain9758 2 жыл бұрын
Thanks a lot
@FelixYu
@FelixYu 2 жыл бұрын
Glad that it’s helpful 👍
@elClubdelas7Cifras
@elClubdelas7Cifras 8 ай бұрын
done
@santiago.m.l
@santiago.m.l 10 ай бұрын
Que afan de ponerle anuncions a todos los videos existentes..
@buituandung4554
@buituandung4554 5 ай бұрын
5:28
Secure API Gateway using Cognito Authorizer (NEW)
29:51
LoveToCode
Рет қаралды 43 М.
Trapped by the Machine, Saved by Kind Strangers! #shorts
00:21
Fabiosa Best Lifehacks
Рет қаралды 38 МЛН
Family Love #funny #sigma
00:16
CRAZY GREAPA
Рет қаралды 52 МЛН
Who's spending her birthday with Harley Quinn on halloween?#Harley Quinn #joker
01:00
Harley Quinn with the Joker
Рет қаралды 25 МЛН
What is API Gateway?
3:26
ByteByteGo
Рет қаралды 303 М.
Top 12 Tips For API Security
9:47
ByteByteGo
Рет қаралды 121 М.
5 JavaScript API Key Mistakes (and how to fix them)
12:49
James Q Quick
Рет қаралды 79 М.
Session Vs JWT: The Differences You May Not Know!
7:00
ByteByteGo
Рет қаралды 248 М.
Secure API Gateway using Lambda Authorizer (NEW)
33:32
LoveToCode
Рет қаралды 24 М.
What is an API Gateway?
10:19
IBM Technology
Рет қаралды 322 М.
Trapped by the Machine, Saved by Kind Strangers! #shorts
00:21
Fabiosa Best Lifehacks
Рет қаралды 38 МЛН