n8n flows
Supabase RPC: Secret Insert/Read
Reference scenario that inserts and reads back an encrypted secret through Supabase RPCs instead of plaintext columns.
Demonstrates and tests the Supabase-side encrypted-secrets pattern: insert a secret
via the insert_secret RPC and read it back via read_secret. It is the reference
for how other scenarios should store and retrieve sensitive credentials through
Supabase RPCs rather than plaintext columns.
At a glance
- Status: Inactive
- Trigger: Manual only, a test and reference scenario.
- Runs on: Run by hand as a template, not on a schedule.
- Talks to: Supabase (PostgREST RPC
insert_secretandread_secret) via thesupabaseApicredential.
How it works
Insert SecretPOSTs to.../rpc/insert_secretwith anameand a JSONsecretpayload.Read SecretPOSTs to.../rpc/read_secretwith asecret_idto retrieve the stored secret back as text.
Notes
- Uses n8n's stored Supabase credential rather than an inline token. This is the cleaner template for secret handling that other flows should follow.