Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

docs: Storage Key changes (#45158)

Chris Chinchilla95c528c17163
diff --git a/apps/docs/content/guides/storage/s3/authentication.mdx b/apps/docs/content/guides/storage/s3/authentication.mdx
index fc098cc5c3e..07070181f3b 100644
--- a/apps/docs/content/guides/storage/s3/authentication.mdx
+++ b/apps/docs/content/guides/storage/s3/authentication.mdx
@@ -79,7 +79,7 @@ All S3 operations performed with the Session Token are scoped to the authenticat
To authenticate with S3 using a Session Token, use the following credentials:
- access_key_id: `project_ref`
-- secret_access_key: `anonKey`
+- secret_access_key: `publishableKey`
- session_token: `valid jwt token`
For example, using the `aws-sdk` library:
diff --git a/apps/docs/content/guides/storage/uploads/resumable-uploads.mdx b/apps/docs/content/guides/storage/uploads/resumable-uploads.mdx
index f2a2615c880..01b88df6b9a 100644
--- a/apps/docs/content/guides/storage/uploads/resumable-uploads.mdx
+++ b/apps/docs/content/guides/storage/uploads/resumable-uploads.mdx
@@ -136,8 +136,8 @@ Instead of `https://project-id.supabase.co` use `https://project-id.storage.supa
export const useUppyWithSupabase = ({ bucketName }: { bucketName: string }) => {
// Initialize Uppy instance only once
const [uppy] = useState(() => new Uppy());
- // Initialize Supabase client with project URL and anon key
- const supabase = createClient(`https://${projectId}.supabase.co`, anonKey);
+ // Initialize Supabase client with project URL and publishable key
+ const supabase = createClient(`https://${projectId}.supabase.co`, publishableKey);
useEffect(() => {
const initializeUppy = async () => {