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

SSH keys. Gather public key. #2388

Closed
jxadro opened this issue Mar 23, 2021 · 2 comments
Closed

SSH keys. Gather public key. #2388

jxadro opened this issue Mar 23, 2021 · 2 comments
Labels
service/VPC Infrastructure Issues related to the VPC Infrastructure

Comments

@jxadro
Copy link

jxadro commented Mar 23, 2021

IBM VPC Gen2. How to recover SSH public key.

Hi it seems it is not possible using terraform to recover the public key from an SSH key in IBM Cloud.

"ibm_is_ssh_key" does not return it: https://cloud.ibm.com/docs/ibm-cloud-provider-for-terraform?topic=ibm-cloud-provider-for-terraform-vpc-gen2-data-sources#vpc-ssh-key

And the "ibm_is_instance" https://cloud.ibm.com/docs/ibm-cloud-provider-for-terraform?topic=ibm-cloud-provider-for-terraform-vpc-gen2-data-sources#instance returns the key id but not the public key.

In the IBM Cloud Console UI I can recover it.

Also taking into account that IBM Cloud does not allow to generate two different keys with the same value this is a big usability issue.

VaishnaviGopal added a commit to VaishnaviGopal/terraform-provider-ibm that referenced this issue Mar 24, 2021
hkantare pushed a commit that referenced this issue Mar 24, 2021
@kavya498 kavya498 added the service/VPC Infrastructure Issues related to the VPC Infrastructure label Mar 30, 2021
@hkantare
Copy link
Collaborator

@kavya498
Copy link
Collaborator

Closing this issue..
Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
service/VPC Infrastructure Issues related to the VPC Infrastructure
Projects
None yet
Development

No branches or pull requests

3 participants