PKI Server Subsystem Group CLI - dogtagpki/pki GitHub Wiki
To list all groups:
$ pki-server <subsystem>-group-find Group ID: Certificate Manager Agents Description: Agents for Certificate Manager Group ID: Registration Manager Agents Description: Agents for Registration Manager Group ID: Subsystem Group Description: Subsystem Group ...
To find the groups that contain a user:
$ pki-server <subsystem>-group-find --member testuser Group ID: Certificate Manager Agents Description: Agents for Certificate Manager
Availability: Since PKI 10.4
$ pki-server <subsystem>-group-member-find "Certificate Manager Agents" User ID: caadmin User ID: pkidbuser
To add a user to a group:
$ pki-server <subsystem>-group-member-add "Certificate Manager Agents" testuser
To remove a user from a group:
$ pki-server <subsystem>-group-member-del "Certificate Manager Agents" testuser
Availability: Since PKI 10.4