The stored secrets are great but if you are using say Firebase or Stripe it defaults to that initial secret and then tries to overwrite in the library if they are different. However, for Firebase you want to have multiple version of the firebase API keys per app so this should be more clearly managed by Agent.
I’m encountering this same issue.
It seems that if I’ve used Firebase in one application, I’m unable to create a new application with different Firebase credentials.
There is an issue or limitation when trying to manage multiple apps, each with its own distinct Firebase backend.
Just don’t save your Firebase keys to account secrets, and add them per app.
It seems if you save Firebase in your overall account secrets, it somehow pulls that by default instead of using the repl’s secrets. Frustrating little bug, dealing with it right now. If I find an effective fix, I’ll post back here.
I know, right? I experienced the same issue with SendGrid API as well. I can only use it for one app per account. I tried using SendGrid for another app but the Agent wants to overwrite the other sendgrid api credentials.
Do you think it’s related to Account Secrets level vs Repl Secrets level?
I think it’s related to Account Secrets level. I have not found a solution to tell the Replit agent to attach secrets only to a certain app.
I hope Replit will look into this.
All we’ve been able to do so far is delete the account secrets and then allow time for the cache to clear.
Still a bit of a mystery.