diff --git a/openstackclient/compute/v2/keypair.py b/openstackclient/compute/v2/keypair.py
index d68dae0643..8a91f68208 100644
--- a/openstackclient/compute/v2/keypair.py
+++ b/openstackclient/compute/v2/keypair.py
@@ -146,7 +146,7 @@ class ShowKeypair(show.ShowOne):
                                       parsed_args.name)
 
         info = {}
-        info.update(keypair._info['keypair'])
+        info.update(keypair._info)
         if not parsed_args.public_key:
             del info['public_key']
             return zip(*sorted(six.iteritems(info)))