Skip to main content

Role Commands

Role commands are used for managing the administrator roles in the Key Manager system.

list-roles

Syntax:

ssh-mgr-client list-roles [options] [-F <filter>] [-X <exclude-filter>] \
[-vvv] [-U <url>] [-o <format>] [-C <columns>] [-H] [-O <sort-order>] \
[-S <start-from>] [-M <max-results>] [-E <delim>] [-B]

List the administrator roles in the Key Manager system.

The default command lists the names of all the existing roles:

$ ssh-mgr-client list-roles

Administrators
Host Admins
Deployers
Auditors
...

The following columns can be used for filtering (-F) and output formatting (-C):

id

Internal PrivX Key Manager id for role

name

Name for the role

Example for displaying both the ID and the name of all the roles:

$ ssh-mgr-client list-roles -H -C id,name