SupabaseS
Supabase5mo ago
Poppy5

Vault - Creating secrets in edge functions

Hey all,
I'm trying to create a vault secret inside my edge functions, using supabase-js.
Tried so many variations, both of supabase.rpc() and supabase.select()
  • but nothing works.
    The RPC call throws this -
    Could not find the function public.vault.create_secret(secret_description, secret_name, secret_value) in the schema cache
he select throws this -
failed to parse select parameter (vault.create_secret()...)


The docs around the Vault are very minimal.
Would love for some help here !
Was this page helpful?