Ask Your Question

method to get keypair names

asked 2015-11-16 20:16:37 -0500

John Zhao gravatar image

novaclient.keypairs.list() return a list of keypairs object. However, I could not find a method to get the names of the keypairs.

Can someone help?



edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2015-11-17 21:33:53 -0500

John Zhao gravatar image

I figured it out. Name is an attribute of keypair class, so you can get the name with

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2015-11-16 20:16:37 -0500

Seen: 149 times

Last updated: Nov 17 '15