-
Notifications
You must be signed in to change notification settings - Fork 9.6k
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
Comments
@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 The upcoming ARM implementation makes managing keys per instance much more easy. |
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. |
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. |
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.
The text was updated successfully, but these errors were encountered: