How To Store API Keys For Staging & Production Environments

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

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

  • @iharandreyev2497
    @iharandreyev2497 10 месяцев назад +7

    Why is this approach "safer" than just putting API keys into the source code?
    AFAIK plists are not encrypted, so we're facing the same issue here as in `UserDefaults` vs `Keychain`, meaning a hacker can access these plists without a lot of hassle.

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

    Would this works outside of Xcode meaning app in the appstore

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

    Thanks a lot very informative video

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

    Thank you very much.

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

    Thanks 🙏 for the guide Kelvin. So much love from me…take care of your child 👦 and I pray 🙏 for the child’s restoration of good health

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

      Thank you, take care :)

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

    I found a production api key when testing on staging environment. What's impact?

    • @kelvinfok
      @kelvinfok  Год назад +1

      Sorry I don’t understand your question

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

      I am penetration tester. Testing on a staging environment and found one production api key is hard-coded in js file at client side.
      How can I use that production key to show some impact ?

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

    What would be a better practice instead of using this approach?

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

      I don’t know of a better approach. Even if you are working with REST service, you typically toggle between 2 sets of APIs

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

    🙏 thanks

    • @kelvinfok
      @kelvinfok  2 года назад +2

      Hope you found it useful!