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

DigitalOcean provider should allow specifying SSH key by name #3058

Closed
carmstrong opened this issue Aug 22, 2015 · 3 comments
Closed

DigitalOcean provider should allow specifying SSH key by name #3058

carmstrong opened this issue Aug 22, 2015 · 3 comments

Comments

@carmstrong
Copy link

Currently, we must specify the SSH key by its ID or fingerprint, which is only available by querying the DO API. This is a less than ideal user experience.

With the DO API, we can enumerate all keys on an account. We should allow SSH keys to be specified by name as well as by ID.

@nathansamson
Copy link

Names are not required to be unique which makes this a challenging problem

@cabbiepete
Copy link

Using the approach below

Droplet config

ssh_keys = ["${digitalocean_ssh_key.april.fingerprint}",
              "${digitalocean_ssh_key.pete.fingerprint}",
              "${digitalocean_ssh_key.garfield.fingerprint}"]

Referencing 3 ssh key resource definitions

works great on 0.7.0 maybe this ticket is solved but just wasn't closed?

@ghost
Copy link

ghost commented Apr 11, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@ghost ghost locked and limited conversation to collaborators Apr 11, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

6 participants