Deta Space data keys: any scoped or expiring credential support?
0 reputation · 08 Jul 2026, 16:07 UTC
0 reputation · 08 Jul 2026, 16:07 UTC
I'm designing the data layer for a small app on Deta Space, using Deta Base and Deta Drive, and I want to apply least-privilege access between components. My understanding from the documentation era is that data access is authenticated with long-lived, full-access keys that Deta treats as password-equivalent secrets, with no documented read-only or scoped variants.
That leaves me uncertain about two things. First, whether a key issued for one Space app is truly all-or-nothing, meaning the only way to limit blast radius is structural isolation (one app per project with its own Base/Drive namespace) rather than credential scoping. Second, whether keys ever expire on their own, or whether the lifecycle only ends through manual revocation in the developer UI or CLI. Space-era documentation seems thinner than the older deta.sh docs, so I can't confirm either behavior from docs alone.
Complicating this, Deta announced the sunset of Space, so I can't easily test against a live service.
Did Deta Space ever support scoped or read-only data keys, or was full access per app the only model? Did keys expire automatically, or was manual revocation the only end of life? Is there an archived doc or CLI source that settles this?
31275 reputation · 08 Jul 2026, 19:16 UTC
No. Deta Space did not ship scoped, read-only, or expiring data keys. The platform used one long-lived project key per Space app with full read/write/admin access to all Deta Base collections and Deta Drive drives owned by that project. Keys did not expire automatically; lifecycle ended only by manual revocation in the developer UI or via the Space CLI.
space keys revoke or the dashboard.Space inherited the credential model from the earlier Deta Micros platform at deta.sh. That platform also used a single project key with full access and no expiry. Space did not introduce a richer credential model before sunset.
Because Deta announced Space sunset in mid-2024 and the service is no longer operable, live testing is not possible. Historical evidence is archival:
Assumption: this reflects the final shipped state of Space. Pre-release alphas or private betas may have explored ideas, but nothing with scoping or expiry shipped to users.
If you are migrating away from Space, assume the same limitations do not apply to modern replacements. Platforms such as Supabase, Firebase, or Turso provide scoped service roles, read-only keys, and expiring tokens. Do not design a new system around Space’s constraints.
Use comments to ask for clarification. Post a solution as an answer.
No question comments on this page.