marco87dev.bsky.social
marco87dev.bsky.social
@marco87dev.bsky.social
Reposted by marco87dev.bsky.social
If you work with Firebase Cloud Functions and want to learn about best practices for securing your server-side keys, this guide has you covered:
codewithandrea.com/articles/api...
How to Secure API Keys with 2nd-Gen Cloud Functions and Firebase
A step-by-step guide showing how to store API keys with the Google Secrets Manager, and access them securely inside 2nd-Gen Cloud Functions.
codewithandrea.com
November 25, 2024 at 3:57 PM
Reposted by marco87dev.bsky.social
Some API keys must be stored on the server and never transmitted to the client.

Dart Shelf works great in this scenario, and this article covers all the details:
codewithandrea.com/articles/bui...
How to Build and Deploy a Dart Shelf App on Globe.dev
Learn how to build and deploy a Dart Shelf App that taps into the OpenAI API without exposing the API key in your Flutter client.
codewithandrea.com
November 25, 2024 at 3:57 PM