04-25-2017 07:23 PM
Hello Folks,
Looking for information regarding key pair created by CCM on Cloud such as Openstack or AWS for instance.
Following question about this topic:
1 - Key pair usually is being created by CCM for Openstack and AWS Clouds. How can I extract .PEM file from CCM to have direct access to VM through SSH CLI?
2 - By default, CCM created key pair's name as "cliqr-user-key_X" where X should be for my understanding userid on CCM. Is that right?
Thanks,
Adilson
04-26-2017 09:55 AM
Adilson, the SSH keys used to deploy the VMs are unique per user and per cloud region. A given user's SSH keys for all regions can be pulled from the API:
https://{{ccm}}/v1/users/{{userId}}/keys
You will then need to look for the key that goes with the region of your deployment.
For your second question, yes, the x in cliqr-user-key-x is their CloudCenter user id.
See this page for more:
View User's Keys - API - CloudCenter Docs
Michael
04-27-2017 12:31 PM
Adilson,
Please read this document to find my responses to your questions. Please provide feedback where appropriate: CloudCenter Core Fundamentals: Obtaining a user's private key
Tuan
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide