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

Also available in: Atom PDF