No documentation on viewing a generated private keypair

Bug #1549418 reported by James
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-novaclient
Confirmed
Low
James

Bug Description

http://docs.openstack.org/developer/python-novaclient/api/novaclient.v1_1.keypairs.html

Currently, under the keypair create class, there is no documentation on how to view/download the private key pair necessary to log into instances.

I recommend showing that there is an private-key option and that the file can be saved using a --private-key <file> option as well otherwise the private key can never be recovered.

        newkey = nt.keypairs.create(<value>)
        privKey = newkey.private_key

Tags: wishlist
James (james-o-benson)
Changed in python-novaclient:
assignee: nobody → James (james-o-benson)
Revision history for this message
melanie witt (melwitt) wrote :

It looks like there are two issues here:

1. There's no mention in the Python API docs on how to get the private key that was generated.

2. There's no CLI option for saving the private key to a file.

We'll use this bug to track the former. For the latter, you can just propose a patch that adds the option. At most, you might be requested to create a blueprint for it, for tracking.

Changed in python-novaclient:
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
James (james-o-benson) wrote :

Thank you Melanie, I can submit a doc fix on how to get the private key in a code example... I had to do that for a project I'm doing anyway. Regarding the CLI option, I'll submit a blueprint plan for it. Do you recommend submitting it as a blueprint as well in the openstackclient api as well?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.