.\" First parameter, NAME, should be all caps .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection .\" other parameters are allowed: see man(7), man(1) .TH pki-group 1 "May 5, 2014" "version 10.2" "PKI Group Management Commands" Dogtag Team .\" Please adjust this date whenever revising the man page. .\" .\" Some roff macros, for reference: .\" .nh disable hyphenation .\" .hy enable hyphenation .\" .ad l left justify .\" .ad b justify to both left and right margins .\" .nf disable filling .\" .fi enable filling .\" .br insert line break .\" .sp insert n+1 empty lines .\" for man page specific macros, see man(7) .SH NAME pki-group \- Command-Line Interface for managing Certificate System groups. .SH SYNOPSIS .nf \fBpki\fR [CLI options] \fB-group\fR \fBpki\fR [CLI options] \fB-group-find\fR [command options] \fBpki\fR [CLI options] \fB-group-show\fR [command options] \fBpki\fR [CLI options] \fB-group-add\fR [command options] \fBpki\fR [CLI options] \fB-group-mod\fR [command options] \fBpki\fR [CLI options] \fB-group-del\fR [command options] .fi .SH DESCRIPTION .PP The \fBpki-group\fR commands provide command-line interfaces to manage groups on the specified subsystem. .PP Valid subsystems are \fBca\fR, \fBkra\fR, \fBocsp\fR, \fBtks\fR, and \fBtps\fR. If the \fB-\fR prefix is omitted, it will default to \fBca\fR. .PP \fBpki\fR [CLI options] \fB-group\fR .RS 4 This command is to list available group commands for the subsystem. .RE .PP \fBpki\fR [CLI options] \fB-group-find\fR [command options] .RS 4 This command is to list groups in the subsystem. .RE .PP \fBpki\fR [CLI options] \fB-group-show\fR [command options] .RS 4 This command is to view a group details in the subsystem. .RE .PP \fBpki\fR [CLI options] \fB-group-add\fR [command options] .RS 4 This command is to add a group into the subsystem. .RE .PP \fBpki\fR [CLI options] \fB-group-mod\fR [command options] .RS 4 This command is to modify a group in the subsystem. .RE .PP \fBpki\fR [CLI options] \fB-group-del\fR [command options] .RS 4 This command is to delete a group from the subsystem. .RE .SH OPTIONS The CLI options are described in \fBpki\fR(1). .SH OPERATIONS To view available group commands, type \fBpki -group\fP. To view each command's usage, type \fB pki -group- \-\-help\fP. All group commands must be executed as the subsystem administrator. For example, to list groups in CA execute the following command: .B pki ca-group-find The results can be paged by specifying the (0-based) index of the first entry to return and the maximum number of entries returned: .B pki ca-group-find --start 20 --size 10 The above command will return entries #20 to #29. To view a CA group, specify the group ID in the following command: .B pki ca-group-show testgroup To add a CA group, specify the group ID in the following command: .B pki ca-group-add testgroup To modify a CA group, specify the group ID and the attributes to be modified in the following command: .B pki ca-group-mod testgroup --description \*(lqTest Group\*(rq To delete a CA group, specify the group ID in the following command: .B pki ca-group-del testgroup .SH SEE ALSO .PP \fBpki-group-member\fR(1) .RS 4 Group member management commands .RE .SH AUTHORS Ade Lee , Endi Dewata , and Matthew Harmsen . .SH COPYRIGHT Copyright (c) 2014 Red Hat, Inc. This is licensed under the GNU General Public License, version 2 (GPLv2). A copy of this license is available at http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.