Can I get my root password through the Digital Ocean API instead of email?

Posted May 18, 2014 6.1k views
I'd like to create, manage and delete droplets - all from my Java app and without human intervention. Seems possible except for the step requiring the root access: is there a way to get the credentials programmatically, not by email?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
3 answers
You can setup ssh keys in your droplets. No email will be sent to you with root password and can login with the key password.

Please add in your API this option - email


New Droplet

my_email - email address

On email send root password

This very good!