summaryrefslogtreecommitdiff
path: root/openstackclient
diff options
context:
space:
mode:
Diffstat (limited to 'openstackclient')
-rw-r--r--openstackclient/identity/v2_0/ec2creds.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/openstackclient/identity/v2_0/ec2creds.py b/openstackclient/identity/v2_0/ec2creds.py
index cb3a5165..cb60b677 100644
--- a/openstackclient/identity/v2_0/ec2creds.py
+++ b/openstackclient/identity/v2_0/ec2creds.py
@@ -135,9 +135,11 @@ class ListEC2Creds(lister.Lister):
# Get the user from the current auth
user = identity_client.auth_user_id
- columns = ('Access', 'Secret', 'Project ID', 'User ID')
+ columns = ('access', 'secret', 'tenant_id', 'user_id')
+ column_headers = ('Access', 'Secret', 'Project ID', 'User ID')
data = identity_client.ec2.list(user)
- return (columns,
+
+ return (column_headers,
(utils.get_item_properties(
s, columns,
formatters={},