lbcli get role (2.1 and above)

Gets role information.

Bash
Copy

Gets role information.

Bash
Copy

Examples:

Bash
Copy
FlagShortTypeDefaultDescription
--help-hboolHelp for role.
--namestringRole name.
--project namestringProject name.

This command returns the following fields for the role. The default output format is yaml. The JSON output format is also supported. The human-readable output only shows some of these fields.

FieldTypeDescription
NameStringRole name.
DescriptionStringRole description.
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard