Actions
Cleanup #7105
closedThere are three different ways to retrieve an authentication key
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
ceph cli
Target version:
-
% Done:
0%
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:
Description
Is it necessary to have three different commands that do the exact same thing ?
Reference:
https://github.com/ceph/ceph/blob/master/src/mon/MonCommands.h#L155-L160
- ceph auth list
installed auth entries:
[snip]
client.admin
key: AQB9P0xSUMiDLBAAhbRPW6HRLnu7D02e9anhqw==
caps: [mds] allow
caps: [mon] allow *
caps: [osd] allow *
- ceph auth print-key client.admin
AQB9P0xSUMiDLBAAhbRPW6HRLnu7D02e9anhqw== - ceph auth print_key client.admin
AQB9P0xSUMiDLBAAhbRPW6HRLnu7D02e9anhqw== - ceph auth get-key client.admin
AQB9P0xSUMiDLBAAhbRPW6HRLnu7D02e9anhqw==
Actions