.nh .TH pki-group-member 1 "Jun 3, 2015" PKI "PKI Group Member Management Commands" .SH NAME .PP pki-group-member - Command-line interface for managing PKI group members. .SH SYNOPSIS .PP \fBpki\fP [\fICLI-options\fP] \fB<subsystem>-group-member\fP .br \fBpki\fP [\fICLI-options\fP] \fB<subsystem>-group-member-find\fP \fIgroup-ID\fP [\fIcommand-options\fP] .br \fBpki\fP [\fICLI-options\fP] \fB<subsystem>-group-member-show\fP \fIgroup-ID\fP \fImember-ID\fP [\fIcommand-options\fP] .br \fBpki\fP [\fICLI-options\fP] \fB<subsystem>-group-member-add\fP \fIgroup-ID\fP \fImember-ID\fP [\fIcommand-options\fP] .br \fBpki\fP [\fICLI-options\fP] \fB<subsystem>-group-member-del\fP \fIgroup-ID\fP \fImember-ID\fP [\fIcommand-options\fP] .SH DESCRIPTION .PP The \fBpki <subsystem>-group-member\fP commands provide command-line interfaces to manage group members on the specified subsystem. .PP Valid subsystems are \fBca\fP, \fBkra\fP, \fBocsp\fP, \fBtks\fP, and \fBtps\fP\&. .PP \fBpki\fP [\fICLI-options\fP] \fB<subsystem>-group-member\fP .br This command is to list available group member commands for the subsystem. .PP \fBpki\fP [\fICLI-options\fP] \fB<subsystem>-group-member-find\fP \fIgroup-ID\fP [\fIcommand-options\fP] .br This command is to list group members in the subsystem. .PP \fBpki\fP [\fICLI-options\fP] \fB<subsystem>-group-member-show\fP \fIgroup-ID\fP \fImember-ID\fP [\fIcommand-options\fP] .br This command is to view a group member details in the subsystem. .PP \fBpki\fP [\fICLI-options\fP] \fB<subsystem>-group-member-add\fP \fIgroup-ID\fP \fImember-ID\fP [\fIcommand-options\fP] .br This command is to add a member to a group in the subsystem. .PP \fBpki\fP [\fICLI-options\fP] \fB<subsystem>-group-member-del\fP \fIgroup-ID\fP \fImember-ID\fP [\fIcommand-options\fP] .br This command is to delete a member from a group in the subsystem. .SH OPTIONS .PP The CLI options are described in \fBpki(1)\fP\&. .SH OPERATIONS .PP To view available group commands, type \fBpki <subsystem>-group-member\fP\&. To view each command's usage, type \fBpki <subsystem>-group-member- --help\fP\&. .PP All group commands must be executed as the subsystem administrator. .PP For example, to list members of a CA group execute the following command: .PP .RS .nf $ pki ca-group-member-find testgroup .fi .RE .PP The results can be paged by specifying the (0-based) index of the first entry to return and the maximum number of entries returned: .PP .RS .nf $ pki ca-group-member-find --start 20 --size 10 .fi .RE .PP The above command will return entries #20 to #29. .PP To view a member of a CA group, specify the group ID and the member ID in the following command: .PP .RS .nf $ pki ca-group-member-show testgroup testuser .fi .RE .PP To add a member to a CA group, specify the group ID and the member ID in the following command: .PP .RS .nf $ pki ca-group-member-add testgroup testuser .fi .RE .PP To delete a member from a CA group, specify the group ID and the member ID in the following command: .PP .RS .nf $ pki ca-group-member-del testgroup testuser .fi .RE .SH AUTHORS .PP Endi S. Dewata <edewata@redhat.com>\&. .SH COPYRIGHT .PP Copyright (c) 2015 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.