Skip to content

hubcli authdomain list

Lists Altair SLC Hub authentication domains.

By default, the authentication domains are listed in the order they are modified, from earliest to latest. When an authentication domain is created, its modification and creation times are the same.

The command has the following format:

hubcli authdomain list [flags]

where:

flags
One or more optional flags for the command that provide additional control over execution:

The following flags are available:

--allNamespaces
Returns authentication domains from all namespaces, not only the current default namespace, although access control might limit results.
-c string or --connection string
Specifies the name of the connection to use. If you do not specify this option, then the default connection is used. If there is no default connection, then you must specify a connection. The first connection created for the Altair SLC Hub instance is set by default as the default Hub instance, but a different default connection can be set using the hubcli connection use command. If
--createdAfter time
Lists only authentication domains created after the specified time.
--createdBefore time
Lists only authentication domains created before the specified time.
--debug
Enables debug logging.
-h or --help
Returns help information for this command.
--json
Returns the list of authentication domains in JSON format.
-l int or --limit int
Lists only the number of authentication domains specified by int. By default 100 are listed. Counting begins from the first listed authentication domain.
--modifiedAfter time
Lists only authentication domains modified after the specified time.
--modifiedBefore time
Lists only authentication domains modified before the specified time.
-n name or --namespace name
Lists only the namespace specified by name.
-o int or --offset int
Skips the number of authentication domains specified by int at the beginning of the returned list. For example, if there are 200 domains and int is set to 100, then the first 100 domains are skipped and only the remaining domains are listed. The sort order of the list is set before the offset takes effect; therefore the list returned is the offset of the sorted list. The list is ordered by default by the modification time, or by the setting of the --sort flag.
-sort string
Specifies the order for the list. string can be set to:
name Sort by name
created Sort by the creation time
modified Sort by the modification time.