You can use the Cyber Recovery connector CLI to create a vCenter Server user, with optional flags to create a vCenter Server role and apply snapshot, failover, and failback privileges.

Usage

drc create-vcenter-user --option

Optional commands are listed inside square brackets [ ].

Option Description

-h, --help

Displays a list of commands and options.

--vcenter VCENTER

IP address of the vCenter Server where you want to create this user.

--admin-username admin-username

Username of a user with vCenter Server Administrator privileges.

User must have vCenter Server Administrator privileges before you run the CLI commands. If not supplied, the script prompts you for this username.

-

[-admin-password admin-password]

Password of a user with vCenter Server Administrator privileges. If not supplied, the script prompts you for this password.

--new-username new-username

Username for the new user.

[--new-password new-password]

Password for the new user.

--vcenter-role vcenter-role

Name of new or existing vCenter Server role to associate to the new user. You can apply --snapshot-privs and/or --failback-privs to this role.

[--snapshot-privs]

Adds snapshot and failover privileges to the user role.

[--failback-privs]

Adds snapshot, failover, and failback privileges to the user role.