Hiding Your API keys in your code from Thieves

Поділитися
Вставка
  • Опубліковано 28 гру 2024

КОМЕНТАРІ • 6

  • @SekUno-b4i
    @SekUno-b4i 4 місяці тому

    Love the content! Keep it up and ull reach a mil in subs, no doubt

  • @scottshay
    @scottshay Рік тому +1

    Any ideas on how to do this with a *shared* notebook? The shared users won't have access to my drive, so this wouldn't work as is. I've scoured the internet, and no one seems to have a solution for how to truly hide keys (or anything) in a shared Google Colab. Kind of a surprising gap, not being able to code modern (everything has an API), secure apps to share! (and my users aren't sophisticated enough to get their own API...I don't mind them using my app with my key, I just don't want anyone to be able to use the key for something else.

    • @tech-at-work
      @tech-at-work  Рік тому

      Look up running a web service like FastAPI or API Gateway - it requires a cloud service but it will let you call the API indirectly and achieve what you’re trying to do

    • @scottshay
      @scottshay Рік тому

      @@tech-at-work Thanks--I will take a look!

  • @sunkim8492
    @sunkim8492 Рік тому +1

    It was helpful in understanding API key security. thank you