1pki-group(1) PKI Group Management Commands pki-group(1)
2
3
4
6 pki-group - Command-line interface for managing PKI groups.
7
8
10 pki [CLI-options] lt;subsystemgt;-group
11 pki [CLI-options] lt;subsystemgt;-group-find [command-options]
12 pki [CLI-options] lt;subsystemgt;-group-show group-ID [command-options]
13 pki [CLI-options] lt;subsystemgt;-group-add group-ID [command-options]
14 pki [CLI-options] lt;subsystemgt;-group-mod group-ID [command-options]
15 pki [CLI-options] lt;subsystemgt;-group-del group-ID [command-options]
16
17
19 The pki lt;subsystemgt;-group commands provide command-line interfaces
20 to manage groups on the specified subsystem.
21
22
23 Valid subsystems are ca, kra, ocsp, tks, and tps.
24
25
26 pki [CLI-options] lt;subsystemgt;-group
27 This command is to list available group commands for the subsystem.
28
29
30 pki [CLI-options] lt;subsystemgt;-group-find [command-options]
31 This command is to list groups in the subsystem.
32
33
34 pki [CLI-options] lt;subsystemgt;-group-show group-ID [command-options]
35 This command is to view a group details in the subsystem.
36
37
38 pki [CLI-options] lt;subsystemgt;-group-add group-ID [command-options]
39 This command is to add a group into the subsystem.
40
41
42 pki [CLI-options] lt;subsystemgt;-group-mod group-ID [command-options]
43 This command is to modify a group in the subsystem.
44
45
46 pki [CLI-options] lt;subsystemgt;-group-del group-ID [command-options]
47 This command is to delete a group from the subsystem.
48
49
51 The CLI options are described in pki(1).
52
53
55 To view available group commands, type pki lt;subsystemgt;-group. To
56 view each command's usage, type pki lt;subsystemgt;-group-lt;commandgt;
57 --help.
58
59
60 All group commands must be executed as the subsystem administrator.
61
62
63 For example, to list groups in CA execute the following command:
64
65
66 $ pki <CA admin authentication> ca-group-find
67
68
69
70 The results can be paged by specifying the (0-based) index of the first
71 entry to return and the maximum number of entries returned:
72
73
74 $ pki <CA admin authentication> ca-group-find --start 20 --size 10
75
76
77
78 The above command will return entries #20 to #29.
79
80
81 To view a CA group, specify the group ID in the following command:
82
83
84 $ pki <CA admin authentication> ca-group-show testgroup
85
86
87
88 To add a CA group, specify the group ID in the following command:
89
90
91 $ pki <CA admin authentication> ca-group-add testgroup
92
93
94
95 To modify a CA group, specify the group ID and the attributes to be
96 modified in the following command:
97
98
99 $ pki <CA admin authentication> ca-group-mod testgroup --description "Test Group"
100
101
102
103 To delete a CA group, specify the group ID in the following command:
104
105
106 $ pki <CA admin authentication> ca-group-del testgroup
107
108
109
111 pki-group-member(1)
112 Group member management commands
113
114
116 Ade Lee lt;alee@redhat.comgt;, Endi S. Dewata lt;edewata@redhat.comgt;,
117 and Matthew Harmsen lt;mharmsen@redhat.comgt;.
118
119
121 Copyright (c) 2014 Red Hat, Inc. This is licensed under the GNU Gen‐
122 eral Public License, version 2 (GPLv2). A copy of this license is
123 available at http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
124
125
126
127PKI May 5, 2014 pki-group(1)