Create a machine user.
Creates a machine user in the account. A machine user can be used to access CDP API. A machine user can have access keys associated with it and can be assigned roles and resource roles. A machine user cannot login to the CDP console.
create-machine-user --machine-user-name <value> [--cli-input-json <value>] [--generate-cli-skeleton]
The name to use for the new machine user. The name must be an alpha numeric string, including ‘-‘ and ‘_’, cannot start with ‘__’ (double underscore) and cannot be longer than 128 characters. Only one machine user with this name can exist in an account at a given time.
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.
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
machineUser -> (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.
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.