Feature request: Reusable API token permission profiles and simplified credential rotation
Jo Beilby
Feature request: Reusable API token permission profiles and simplified credential rotation
DigitalOcean's immutable API token scopes provide a valuable security safeguard. However, the current implementation creates unnecessary administrative overhead when permissions need to change.
During the construction of our media platform, we have had to undertake four token creation procedures, manually reproducing increasingly complex permission configurations containing up to 25 scopes.
We propose:
- The ability to clone an existing token's permission configuration without copying its secret.
- The ability to add or remove permissions before generating a replacement token.
- A visual comparison of previous and proposed permissions.
- Named, reusable permission profiles.
- A guided credential rotation process allowing the previous token to be revoked after successful replacement.
This would preserve immutable credentials and least-privilege access while reducing administrative effort, configuration errors and unnecessary interruptions to development.
Security and usability should reinforce one another rather than compete.