© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•6mo ago•
5 replies
Poppy5

Vault - Creating secrets in edge functions

Hey all,
I'm trying to create a vault secret inside my edge functions, using
supabase-js
supabase-js
.
Tried so many variations, both of
supabase.rpc()
supabase.rpc()
and
supabase.select()
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
Could not find the function public.vault.create_secret(secret_description, secret_name, secret_value) in the schema cache


The select throws this -
failed to parse select parameter (vault.create_secret()...)
failed to parse select parameter (vault.create_secret()...)


The docs around the Vault are very minimal.
Would love for some help here !
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Can't access Vault secrets from Edge Functions without making them publicly accessible
SupabaseSSupabase / help-and-questions
3y ago
Programatically Delete Vault Secrets
SupabaseSSupabase / help-and-questions
13mo ago
Using API secrets inside edge functions in a SPA
SupabaseSSupabase / help-and-questions
13mo ago
Directories in edge functions.
SupabaseSSupabase / help-and-questions
4y ago