PKI Server Subsystem Group CLI - dogtagpki/pki GitHub Wiki

Listing All Groups

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

  ...

Finding Groups by Member

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

Listing Group Members

$ pki-server <subsystem>-group-member-find "Certificate Manager Agents"
  User ID: caadmin

  User ID: pkidbuser

Adding Group Member

To add a user to a group:

$ pki-server <subsystem>-group-member-add "Certificate Manager Agents" testuser

Removing Group Member

To remove a user from a group:

$ pki-server <subsystem>-group-member-del "Certificate Manager Agents" testuser

Availability: Since PKI 10.4

⚠️ **GitHub.com Fallback** ⚠️