Project

General

Profile

Actions

Cleanup #7105

closed

There are three different ways to retrieve an authentication key

Added by David Moreau Simard over 10 years ago. Updated over 9 years ago.

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

  1. ceph auth list
    installed auth entries:
    [snip]
    client.admin
    key: AQB9P0xSUMiDLBAAhbRPW6HRLnu7D02e9anhqw==
    caps: [mds] allow
    caps: [mon] allow *
    caps: [osd] allow *
  1. ceph auth print-key client.admin
    AQB9P0xSUMiDLBAAhbRPW6HRLnu7D02e9anhqw==
  2. ceph auth print_key client.admin
    AQB9P0xSUMiDLBAAhbRPW6HRLnu7D02e9anhqw==
  3. ceph auth get-key client.admin
    AQB9P0xSUMiDLBAAhbRPW6HRLnu7D02e9anhqw==
Actions #1

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>

Actions #2

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.

Actions #3

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

Also available in: Atom PDF