1
1 Comment

How to Secure API Keys in Chrome Extension?

Banging my head off the wall trying to figure this out - there's hardly any info online that I can find.

People suggest putting the API key in a lambda function but that hardly secures anything.

Anyone have a good solution to this?

on March 18, 2023
  1. 1

    Hi @maxeccles, did you find a solution? Maybe it's to handle all the logic related to database fetching in a separate web app, where the keys can be secured as environment variables. The Chrome extension would then retrieve the filtered data from this web app.

Trending on Indie Hackers
7 years in agency, 200+ B2B campaigns, now building Outbound Glow User Avatar 88 comments This system tells you what’s working in your startup — every week User Avatar 53 comments 11 Weeks Ago I Had 0 Users. Now VIDI Has Reviewed $10M+ in Contracts - and I’m Opening a Small SAFE Round User Avatar 46 comments The "Book a Demo" Button Was Killing My Pipeline. Here's What I Replaced It With. User Avatar 41 comments I built a desktop app to move files between cloud providers without subscriptions or CLI User Avatar 24 comments My AI bill was bleeding me dry, so I built a "Smart Meter" for LLMs User Avatar 19 comments