© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•3w ago•
3 replies
spuz

How to view / create local secrets?

CLI🤷otherSolved
When I type
supabase secrets list
supabase secrets list
I get the error:

$ supabase secrets list
Access token not provided. Supply an access token by running supabase login or setting the SUPABASE_ACCESS_TOKEN environment variable.
Try rerunning the command with --debug to troubleshoot the error.
$ supabase secrets list
Access token not provided. Supply an access token by running supabase login or setting the SUPABASE_ACCESS_TOKEN environment variable.
Try rerunning the command with --debug to troubleshoot the error.


I have not run
supabase login
supabase login
because I want to work with my local instance of supabase, not my remote instance. How do I use the
supabase secrets
supabase secrets
command locally? I would like to be able to create a new secret so that it is visible to my local edge function when I run:

Deno.env.get('MY_SECRET');
Deno.env.get('MY_SECRET');
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

How to create an updatable view
SupabaseSSupabase / help-and-questions
4y ago
How to access secrets inside triggers in local Docker
SupabaseSSupabase / help-and-questions
5mo ago
Pull secrets for local env
SupabaseSSupabase / help-and-questions
6mo ago
How to view emails on the local dev
SupabaseSSupabase / help-and-questions
7mo ago