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