Repository navigation
Say in the billing doc to destroy old secret versions after replacing the Stripe secrets - #36
Merged
Merged
Conversation
… the Stripe secrets Setting a secret leaves its earlier versions enabled, and Secret Manager bills each version past the first six, so the repeated sets while billing was set up on 2026-10-25 left nine versions and a monthly charge for the three over the limit. The same will happen at launch, when all three secrets are replaced at once, and at any later key roll. The doc now says to destroy the versions no function reads once the redeploy is live, how to tell which those are, and that the destroy command's "in use" warning matches the secret's name rather than the version, so it shows up for every version. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Setting a secret with
firebase functions:secrets:setadds a version and leaves the old ones enabled. Secret Manager bills every version past the first six in the project, so the repeated sets while billing was set up on 2026-10-25 left nine versions and a small monthly charge. The six unused versions have since been destroyed by hand. The same would happen again at launch, when all three Stripe secrets are replaced at once, and at any later key roll.docs/billing.mdnow says, right after how the secrets are set:functions:secrets:destroywarns every version is "in use", because it matches the secret's name and not the version;Docs only: nothing under
functions/orapps/web/changes, so merging deploys nothing.For a reviewer: the doc's table still lists the sandbox values as "before launch", while the paragraph under "Live" says the switch happened on 2026-10-25. This PR doesn't touch that; it is worth checking which is current.
🤖 Generated with Claude Code