DO Ideas 2

API: "reset root password" method change request

The reset root password api method send by email the new droplet root password to the digitalocean client email. If you are reselling digital ocean vps your client have no way to know the root password. The "reset root password" should return the new root password instead of just an sucessful answer.

  • Nathan Rodríguez
  • Sep 11 2018
  • Attach files
  • Alex commented
    September 11, 2018 19:28
  • James commented
    September 11, 2018 19:28

    Just set up email forwarding rules per client ?

  • Anonymous commented
    September 11, 2018 19:28

    very need it

  • Jean-Marie Bise commented
    September 11, 2018 19:28

    it pretty easy to find a work around. Add an ssh key in account, add it to your droplets, add the key on your personal server, after from your server you can send the command passwd onto you server with "ssh systemsboy@rhost.systemsboy.edu 'passwd user'" and then you know the password, you can send it to your client.

  • Cas de Reuver commented
    September 11, 2018 19:28

    I really need this!

  • Brendan commented
    September 11, 2018 19:28

    The other problem is that the reset password email doesn't include the IP of the droplet, this means that you cannot use email piping either.

  • Brendan commented
    September 11, 2018 19:28

    +1 for this

    Especially showing the root password on droplet creation.

  • Mike M. commented
    September 11, 2018 19:28

    any news for this feature? =(

  • Rafael commented
    September 11, 2018 19:28

    Any update on this post? Are you guys working on this feature?
    thanks

  • Nathan Rodríguez commented
    September 11, 2018 19:28

    The ssh key option is more secure but most of the vps client never used one. Clients want it as simple as possible thats why i think both option should be added.

  • Moisey Uretsky commented
    September 11, 2018 19:28

    The API ssh-key integration should be ready this week, then we can see if the API reset_password gets up-voted.

    I do agree that reset_password via API sending an email isn't really intuitive, will just have to see how much extra work it is to completely pass that through the API.

  • Eric commented
    September 11, 2018 19:28

    I would suggest that you also add that function the the creation of a droplet using the API. It would be nice to have the returned response contain the root password and not have to wait , parse an email for it. I want to automate the creation and now I have to search my emails. However, once you implement assigning an SSH Key in the API, then I will just do that and never need the password.

  • Moisey Uretsky commented
    September 11, 2018 19:28

    Hi Nathan,

    Thats a great suggestion, we are going to discuss that internally and see if we should update that for the API call.