API Authentication via API Keys | AWS API Gateway

Поделиться
HTML-код
  • Опубликовано: 7 янв 2025

Комментарии •

  • @grassrootsdefi7522
    @grassrootsdefi7522 3 года назад +5

    Felix, well done. Your presentation is clear, concise, and we can feel you at your ease. A+

    • @FelixYu
      @FelixYu  3 года назад +2

      glad that it helped :)

  • @blackboy424
    @blackboy424 9 месяцев назад

    damn usage plan portion had me stuck for an hour today! Thanks for the video
    o

  • @AnilAnil-zu4qm
    @AnilAnil-zu4qm Год назад

    Wow what a explaination. You got a subscriber. Thanks dude.

  • @ColdFireInBox
    @ColdFireInBox 3 года назад +1

    Great tutorial Felix. This is what I was looking for

  • @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!!

  • @joshb.9380
    @joshb.9380 3 года назад +1

    Thanks for making this follow-up video. Very 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 :)

  • @albert_the_project
    @albert_the_project 2 года назад +1

    Great tutorial. Very clear all steps.

    • @FelixYu
      @FelixYu  2 года назад

      Glad that u found it helpful!!

  • @meenu2511
    @meenu2511 3 года назад +1

    Thanks bro, simple and short.

  • @AmanBhangu
    @AmanBhangu Год назад

    Thanks a lot Felix!

  • @brucevwilcox1002
    @brucevwilcox1002 2 года назад

    Very helpful. Thanks for producing this.

    • @FelixYu
      @FelixYu  2 года назад

      Glad that u found it helpful!!

  • @danielhalmstrand2123
    @danielhalmstrand2123 3 года назад

    Thank you Felix for a great tutorial....

    • @FelixYu
      @FelixYu  3 года назад

      Glad that it’s helpful

  • @ssthil1
    @ssthil1 Год назад

    It really helped, thanks for it, appreciated!
    👍

  • @CMDying
    @CMDying 2 года назад

    Great work. Really well details video - Thanks for this.

    • @FelixYu
      @FelixYu  2 года назад

      glad that u found it helpful 👍

  • @bjblk1
    @bjblk1 2 года назад

    Felix, awesome video. Thank you very much.

    • @FelixYu
      @FelixYu  2 года назад

      Glad that u found it helpful!!

  • @webpro9083
    @webpro9083 2 года назад +1

    Hello, thanks for the turorial. Is there a way to create the client API key using aws SDK?

  • @Fabrimanga89
    @Fabrimanga89 5 месяцев назад

    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.

  • @rcdag-b5z
    @rcdag-b5z Год назад

    thank you so much, it helped me a lot this video!

  • @richardq16
    @richardq16 2 года назад +1

    Awesome!! how can you hide the key when invoking the service from the front? because it appears when I inspect the page.

  • @mario17-t34
    @mario17-t34 Год назад

    Thanks much, is x-api-key is a reserved word ?

  • @SamuelCarreira
    @SamuelCarreira 3 года назад +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

  • @한진영-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?

  • @akultomar7328
    @akultomar7328 2 года назад

    @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?

  • @christianechica4270
    @christianechica4270 2 года назад +1

    During patch or delete you will get
    "message": "Missing Authentication Token

  • @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.

  • @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
      ruclips.net/video/ReNkQ0Xkccw/видео.html

    • @akultomar7328
      @akultomar7328 2 года назад

      @@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?

  • @rolandochew8399
    @rolandochew8399 2 года назад

    What happend if we have an Apikey by Secrets Manager, how we can test it?

  • @valirjonathan2161
    @valirjonathan2161 3 года назад +1

    Nice. Can you do an TODO app with user registration and login with API Gateway and DynamoDB?

    • @FelixYu
      @FelixYu  3 года назад +2

      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.

  • @EdchelStephenNini
    @EdchelStephenNini Месяц назад

    Thank you! :)

  • @Control433
    @Control433 3 года назад

    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  3 года назад

      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
      ruclips.net/video/ReNkQ0Xkccw/видео.html

    • @Control433
      @Control433 3 года назад

      ​@@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!

  • @nicanormedina6900
    @nicanormedina6900 2 года назад

    You are god. Thanks.

    • @FelixYu
      @FelixYu  2 года назад

      Tyty glad that u found it helpful!!

  • @DouglasGouveia
    @DouglasGouveia 5 месяцев назад

    In my test error message: "Missing Authentication Token

    • @FelixYu
      @FelixYu  5 месяцев назад

      did u deploy the API to a stage (new or existing one)

  • @janivimal
    @janivimal 2 года назад +1

    10/10

  • @buituandung4554
    @buituandung4554 6 месяцев назад

    5:28

  • @arefinhossain9758
    @arefinhossain9758 2 года назад

    Thanks a lot

    • @FelixYu
      @FelixYu  2 года назад

      Glad that it’s helpful 👍

  • @santiago.m.l
    @santiago.m.l 11 месяцев назад

    Que afan de ponerle anuncions a todos los videos existentes..

  • @elClubdelas7Cifras
    @elClubdelas7Cifras 10 месяцев назад

    done

  • @VarunKumar-ql6zn
    @VarunKumar-ql6zn Год назад

    Thanks

  • @navjotsingh2457
    @navjotsingh2457 Год назад

    ty