Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API call to add ssh keys #245

Closed
vg-github opened this issue May 27, 2016 · 3 comments
Closed

API call to add ssh keys #245

vg-github opened this issue May 27, 2016 · 3 comments

Comments

@vg-github
Copy link

Hello All,

At the moment I cannot add SSH keys via the API, is this feature coming anytime soon? I see v2 of the DO api supports this here:

https://developers.digitalocean.com/documentation/v2/#create-a-new-key

This would be great to have, it helps quite a lot with the provisioning.

Many thanks,
Vlad

@petems
Copy link
Owner

petems commented May 27, 2016

@vladimirghetau: What version of tugboat do you have? That should be avaliable as the add-key function!

~ $ tugboat help add-key
Usage:
  tugboat add-key KEY-NAME

Options:
  -k, [--key=KEY]    # The string of the key
  -p, [--path=PATH]  # The path to the ssh key
  -q, [--quiet]

Description:
  This uploads a ssh-key to DigitalOcean, which you can then assign to a droplet at creation time so you can connect to it with the key rather than a password.

@vg-github
Copy link
Author

Excellent!

I am using the latest version, installed via gem, however this add-key wasn't in the README documentation.

All good now, I tried it and it's there. Super product!

Vlad

@petems
Copy link
Owner

petems commented May 27, 2016

Thanks! Yeah, I don't think our docs have kept up with our features, I'll add that one in now 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants