Ask Your Question

method to get keypair names

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

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 -0600

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

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


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

Seen: 162 times

Last updated: Nov 17 '15