Question

how to set own desired root for droplet via api ?

  • Posted August 16, 2013

i have searched http://api.digitalocean.com couldn’t find it.

Subscribe
Share

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

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.

For the record… Sending a plain text password through email is just as insecure if not more insecure than sending a password to an API over SSL… Just saying.

We do not support this as it is not secure. You should use SSH keys instead: <br> <br>https://www.digitalocean.com/community/articles/how-to-use-ssh-keys-with-digitalocean-droplets <br> <br><strong>https://api.digitalocean.com/droplets/new</strong> <br><pre>https://api.digitalocean.com/droplets/new?...&ssh_key_ids=[ssh_key_id1],[ssh_key_id2]</pre> <br><ul> <br><li>…</li> <br><li><strong>ssh_key_ids</strong> Optional, Numeric CSV, comma separated list of ssh_key_ids that you would like to be added to the server</li> <br><li>…</li> <br></ul>

how to set own desired root password for droplet via api ?