summaryrefslogtreecommitdiffstats
path: root/src/test/cli/ceph-authtool/create-gen-list-bin.t
blob: 1d4925af57c20e5c18113679fc659da05e85cd04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
  $ ceph-authtool kring --create-keyring --mode 0600
  creating kring

  $ ceph-authtool kring --list

  $ ceph-authtool kring --gen-key

# cram makes matching escape-containing lines with regexps a bit ugly
  $ ceph-authtool kring --list
  [client.admin]
  \\tkey = [a-zA-Z0-9+/]+=* \(esc\) (re)

# synonym
  $ ceph-authtool kring -l
  [client.admin]
  \\tkey = [a-zA-Z0-9+/]+=* \(esc\) (re)