Should local gallery development require the production R2 secret key?
No. Routine development should use credentials scoped to its own storage. Keep production access restricted to the people and systems that actually operate the live service.
Explore This Question
Search for additional explanations using these tools:
More FAQs in Why should development and production use separate storage buckets?
Prefixes can organize data, but broad credentials may still access other prefixes. Separate buckets and scoped credentials create a clearer boundary for routine development.
Gallery records contain object references and ownership information. Mixing a development database with production storage can create broken links or expose real objects to test operations.
Still have questions?
Browse all our FAQs or reach out to our support team
