Scoped API tokens / Service accounts for Proton Drive CLI
Proton Drive CLI authenticates only via full user login. No scoped tokens, no service accounts. This prevents secure automation use cases like server backups.
Business customers need:
Scoped API tokens with folder-level access restrictions
Service accounts that don't consume user seats
OAuth2 with granular scopes (read-only, folder-specific)
Current workaround (dedicated user account) forces paying for an unused seat just to isolate access. (Or free accounts)
Security professionals and sysadmins need isolated identities for automation without exposing the full account.
-
Michael B
commented
This is critical for Proton to have API keys for Proton Drive. This was shocking it didn’t. The use cases listed for Proton Drive include things like backups, which can’t be done through automation without API keys because you’d need to login through a browser session first to authenticate.
The API keys with proper scoping could allow backups using write and update but not have the ability to read except file hashes, or to limit something to a specific area of the proton drive. Even if I can’t mount proton drive within Linux, having this would allow me to create scripts to perform backups using the CLI client. Right now, it’s just unusable.