role create

Prev Next

This command creates an administrative role.

Usage
role create --name NAME
           [--ldap-groups GROUPS]
           [--tenant-ids IDs]
Required Parameters

--name NAME

Specifies the name of the role.

Options

--ldap-groups GROUPS

Specifies one or more groups to associate the group(s) with the role. Users who belong to groups that are associated with the role will be able to log into VMS using their LDAP user name and password. They will be authorized based on the role(s) associated with their group. Each group can be any group on any connected LDAP-based provider, including Active Directory. Groups can be associated with multiple roles and vice versa.

--tenant-ids IDs

Determines the tenant(s) for the role.

You can specify one tenant ID or a comma-separated list of tenant IDs.

Example

This example creates a role named mynewrole on tenant 2:

vcli: admin> role create --name mynewrole --tenant-ids 2