list-machine-users¶
- subtitle
Lists machine users.
- version
0.9.126
Description¶
Lists machine users in the account.
list-machine-users
is a paginated operation. Multiple API calls may be issued in order to retrieve the entire data set of results. You can disable pagination by providing the --no-paginate
argument.
Synopsis¶
list-machine-users
[--machine-user-names <value>]
[--max-items <value>]
[--starting-token <value>]
[--page-size <value>]
[--cli-input-json <value>]
[--generate-cli-skeleton]
Options¶
--machine-user-names
(array)
The names or the CRNs of the machine users. If not provided all machine users for the account are retrieved.
Syntax:
"string" "string" ...
--max-items
(integer)
The total number of items to return. If the total number of items available is more than the value specified in max-items then a
nextToken
will be provided in the output that you can use to resume pagination. ThisnextToken
response element should not be used directly outside of the CDP CLI. This option cannnot be combined with theno-paginate
CLI option. If no max-items value is specified, then a default value of 100 is used.
--starting-token
(string)
A token to specify where to start paginating. This is the
nextToken
from a previously truncated response.
--page-size
(integer)
The size of each page. Generally this does not need to be set and the default page size used is appropriate.
--cli-input-json
(string)
Performs service operation based on the JSON string provided. The JSON string follows the format provided by
--generate-cli-skeleton
. If other arguments are provided on the command line, the CLI values will override the JSON-provided values.
--generate-cli-skeleton
(boolean)
Prints a sample input JSON to standard output. Note the specified operation is not run if this argument is specified. The sample input can be used as an argument for
--cli-input-json
.
Output¶
machineUsers -> (array)
The machine users.
item -> (object)
Information about a Cloudera CDP machine user.
machineUserName -> (string)
The machine user name.
crn -> (string)
The CRN of the user.
creationDate -> (datetime)
The date when this machine user record was created.
workloadUsername -> (string)
The username used in all the workload clusters of the machine user.
status -> (string)
The current status of the machine user. The possible status values are ACTIVE and CONTROL_PLANE_LOCKED_OUT. ACTIVE indicates that the machine user is active in CDP. An active machine user can authenticate to the CDP control plane and workload clusters. CONTROL_PLANE_LOCKED_OUT indicates that the machine user is locked out of the CDP control plane. The locked-out machine user can no longer authenticate to the control plane but can authenticate to the workload clusters. Note that more statuses could be added in the future. The statuses other than ACTIVE are only returned on Cloudera for Government.
workloadPasswordDetails -> (object)
Information about the workload password for a user or machine user.
isPasswordSet -> (boolean)
Whether a workload password is set.
passwordExpirationDate -> (datetime)
The date at which the workload password will expire.
passwordMinLifetimeDate -> (datetime)
The minimum lifetime date of the workload password. A new password can’t be set until this date.
nextToken -> (string)
The token to use when requesting the next set of results. If not present, there are no additional results.
Form Factors¶
public, private