lbcli get role (2.1 and above)
Gets role information.
lbcli get role
Gets role information.
lbcli get role [flags]
Examples:
# Get brief info on 'my-proj:viewer' role:
lbcli -J $JWT get role --project-name=my-proj --name=viewer
# Get detailed info on 'proj-1:admin' role, with a list of permissions, in JSON format:
lbcli get role --project-name=proj-1 --name=admin --output-format=json
Flag | Short | Type | Default | Description |
---|---|---|---|---|
--help | -h | bool | Help for role. | |
--name | string | Role name. | ||
--project name | string | Project 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.
Field | Type | Description |
---|---|---|
Name | String | Role name. |
Description | String | Role description. |
Was this page helpful?