accountList

List the bastion accounts

usage

--osh accountList [OPTIONS]

--account ACCOUNT

Only list the specified account. This is an easy way to check whether the account exists

--inactive-only

Only list inactive accounts

--audit

Show more verbose information (SLOW!), you need to be a bastion auditor

--no-password-info

Don't gather password info in audit mode (makes --audit way faster)

--no-output

Don't print human-readable output (faster, use with --json)

--include PATTERN

Only show accounts whose name match the given PATTERN (see below)

This option can be used multiple times to refine results

--exclude PATTERN

Omit accounts whose name match the given PATTERN (see below)

This option can be used multiple times. Note that --exclude takes precedence over --include

Note: PATTERN supports the * and ? wildcards. If PATTERN is a simple string without wildcards, then names containing this string will be considered.