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==
Updated by David Moreau Simard over 10 years ago
Ahh.. forgot the
tag... <pre> # 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== </pre>
Updated by Loïc Dachary over 9 years ago
- Status changed from New to Closed
It is not necessary indeed. However, now that it has been published it would be non backward compatible to remove any of them.
Updated by Loïc Dachary over 9 years ago
- Subject changed from There are three diferent ways to retrieve an authentication key to There are three different ways to retrieve an authentication key
Actions