Generate JWT secrets and API keys for Supabase self-hosting
Note: This tool generates API keys client-side following Supabase's official documentation. Keys are generated based on JWT secrets and never leave your browser.
A secure random string used to sign JWT tokens. Keep this secret safe!
This key has limited permissions and is used for client-side operations with Row Level Security (RLS).
This key bypasses Row Level Security and has full database access. Use only in secure server environments.
Set this in your docker-compose.yml as JWT_SECRET
Use this key in your frontend applications. Set as ANON_KEY in your client configuration.
Use this key only in backend/server applications. Set as SERVICE_ROLE_KEY in your server environment variables.
For more information, visit the Supabase Self-Hosting Documentation