DO Ideas 2

Ability to set root password when using create droplet API

We are trying to automate droplet creation , something like linode api where we can set a root password when creating a droplet would be great.

http://www.linode.com/api/linode/linode.disk.createfromdistribution

Currently we have to fetch email for password and something this does not work.

php requires a file when authenticating using ssh keys ssh2_auth_pubkey_file , which means creating files from db values and its not that stable, a simple fast root password approach would be better.

Itll be great if you can add it.

  • Vikas
  • Sep 11 2018
  • Will not implement
  • Attach files
  • Anonymous commented
    September 11, 2018 18:43

    Setting password during create or using another call is a blocker for me to implement a module for an external software. I hope you guys will understand that.

  • Moisey Uretsky commented
    September 11, 2018 18:43

    Unfortunately we aren't going down that route because setting passwords is inherently much more insecure than using SSH keys which are fully supported.

    So this is one of those cases where we are looking to enforce good behavior on the part of the customer.

    Thanks!

  • Vikas commented
    September 11, 2018 18:43

    @moisey - It will be great if we can set it also.

  • Moisey Uretsky commented
    September 11, 2018 18:43

    The recommend method for this would be to add your pub ssh-key to the admin panel and then you can specify the SSH key you want to use when creating the new server so your access will already be established.