logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

pki-user-membership - Command-line interface for managing PKI user memberships.

Authors

       Endi S. Dewata lt;edewata@redhat.comgt;.

Description

       The   pkilt;subsystemgt;-user-membership  commands  provide  command-line  interfaces  to  manage  user
       memberships on the specified subsystem.

       Valid subsystems are ca, kra, ocsp, tks, and tps.

       pki [CLI-options] lt;subsystemgt;-user-membership
           This command is to list available user membership commands for the subsystem.

       pki [CLI-options] lt;subsystemgt;-user-membership-finduser-ID [command-options]
           This command is to list groups in which the subsystem user is a member.

       pki [CLI-options] lt;subsystemgt;-user-membership-adduser-IDgroup-ID [command-options]
           This command is to add the subsystem user into a group.

       pki [CLI-options] lt;subsystemgt;-user-membership-deluser-IDgroup-ID [command-options]
           This command is to delete the subsystem user from a group.

Name

       pki-user-membership - Command-line interface for managing PKI user memberships.

Operations

       To view available user membership commands,  type  pkilt;subsystemgt;-user-membership.   To  view  each
       command's usage, type pkilt;subsystemgt;-user-membership-lt;commandgt;--help.

       All user membership commands must be executed as the subsystem administrator.

       For example, to list groups in which a CA user is a member execute the following command:

              $ pki <CA admin authentication> ca-user-membership-find testuser

       The  results  can be paged by specifying the (0-based) index of the first entry to return and the maximum
       number of entries returned:

              $ pki <CA admin authentication> ca-user-membership-find testuser --start 20 --size 10

       The above command will return entries #20 to #29.

       To add a CA user into a group, specify the user ID and the group ID in the following command:

              $ pki <CA admin authentication> ca-user-membership-add testuser Administrators

       To delete a CA user from a group, specify the user ID and the group ID in the following command:

              $ pki <CA admin authentication> ca-user-membership-del testuser Administrators

Options

       The CLI options are described in pki(1).

Synopsis

pki [CLI-options] lt;subsystemgt;-user-membershippki [CLI-options] lt;subsystemgt;-user-membership-finduser-ID [command-options]
       pki [CLI-options] lt;subsystemgt;-user-membership-adduser-IDgroup-ID [command-options]
       pki [CLI-options] lt;subsystemgt;-user-membership-deluser-IDgroup-ID [command-options]

See Also