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

Azure provider: Resource to upload ssh keys or certificates to azure #3099

Closed
keymon opened this issue Aug 28, 2015 · 3 comments
Closed

Azure provider: Resource to upload ssh keys or certificates to azure #3099

keymon opened this issue Aug 28, 2015 · 3 comments

Comments

@keymon
Copy link
Contributor

keymon commented Aug 28, 2015

When creating an azure instance in terraform we can pass either a password or a SSH thumbprint.

This SSH thumbprint comes from a SSH key uploaded to the same azure_hosted_service defined in the instance, and uploaded using a method like this.

But terraform does not provide any way to upload the ssh key. Could be nice if terraform provides a resource to generate and upload the certificate and query the SSH thumbprint.

In our project we implemented this feature in a script like in this commit, which you can use as reference.

@aznashwan
Copy link
Contributor

@keymon: again; there was no way to add a key to instance through the ASM API directly back when it was written. What actually happens here is that the thumbprint you provide is added to the azure_hosted_service containing the instance (that was simply how the ASM API works...).

The upcoming ARM implementation makes managing keys per instance much more easy.
Updates and/or further suggestions here: #3212

@chan-alex
Copy link

chan-alex commented May 24, 2016

The problem is ARM is nice but for some ASM will have to be supported for years to come. Years. Not days, not weeks, not months. Years.

@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

5 participants