Globus Connect Server Endpoint Role Show
Description
The globus-connect-server endpoint role show command shows information about a single role associated with an endpoint. By default, this command displays the role id, role name and principal. Alternatively, it can display a JSON document containing the role. Use the -F json command-line option to enable this output format.
Options
- -h, --help
-
Show help message and exit.
- --version
-
Show the version and exit.
- -F, --format "text"|"json"
-
Output format for this command. If the format is json, then the role document is displayed.
- --use-explicit-host IP_ADDRESS (new in 5.4.23)
-
IP address of the GCS node to use for this request. If not specified, any available GCS node in the endpoint will be used.
Example
This example shows an endpoint role in both formats:
$ globus-connect-server endpoint role show 751a299b-5cdf-4f89-b210-6982351b7956 Role ID: 751a299b-5cdf-4f89-b210-6982351b7956 Role: owner Principal: user@example.edu
$ globus-connect-server endpoint role show 751a299b-5cdf-4f89-b210-6982351b7956 -F json
{
"DATA_TYPE": "role#1.0.0",
"id": "751a299b-5cdf-4f89-b210-6982351b7956",
"principal": "urn:globus:auth:identity:a1441af8-452e-4774-aecb-e4d25f9e0f09",
"role": "owner"
}