Will more fine grained API token scopes available?

November 9, 2016 1.6k views
Security API

Currently there are only two scopes for the API tokens, read-only and read-write, but this tokens are extremely dangerous as they affect all the resources in the account without restrictions. For example, create a million droplets or delete all of them.

It would be more desirable to have more control over the scope by choosing the resources it will operate on, i.e. droplets, volumes, floating IPs, etc. And a quota to limit their blast radius in the case of a security incident.

Are we getting something like this anytime?

2 Answers

To be honest, this sounds is great idea. For now we are only limited with Read/Write privileges, maximum Droplet limit and 5000 request per hour which is pretty high.

Maybe @ryanpq can give us more insight on this, if he’s able to get more info. :D

In meanwhile, you can submit your idea on DigitalOcean’s UserVoice. :)

I agree it is absolutely a good idea and something that has been discussed internally. I am not aware if it is currently on the roadmap and would definitely encourage adding/voting for it on our uservoice site. Uservoice votes play a big role in what features are prioritized.

Have another answer? Share your knowledge.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!