Skip to content

Conversation

mattrossman
Copy link
Contributor

@mattrossman mattrossman commented Oct 1, 2025

Draft to go along with supabase/supabase#39041

  • Adds PgmetaCryptoKey to the studio config, defaulting to "SAMPLE_KEY" to match the postgres-meta fallback
  • Populates studio's PG_META_CRYPTO_KEY and pg-meta's CRYPTO_KEY with this

@coveralls
Copy link

Pull Request Test Coverage Report for Build 18174729785

Details

  • 2 of 2 (100.0%) changed or added relevant lines in 1 file are covered.
  • 5 unchanged lines in 1 file lost coverage.
  • Overall coverage decreased (-0.02%) to 54.671%

Files with Coverage Reduction New Missed Lines %
internal/gen/keys/keys.go 5 12.9%
Totals Coverage Status
Change from base Build 18154870716: -0.02%
Covered Lines: 6391
Relevant Lines: 11690

💛 - Coveralls

ApiUrl string `toml:"api_url"`
OpenaiApiKey Secret `toml:"openai_api_key"`
PgmetaImage string `toml:"-"`
PgmetaCryptoKey string `toml:"-"`
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I figure PgmetaCryptoKey belongs here since PgmetaImage is already there, but was wondering if it's better to split the pgmeta stuff into its own struct.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants