hcp iam service-principals read
Command: hcp iam service-principals read
The hcp iam service-principals read
command reads details about the given
service principal.
To read an organization service principal, pass the service principal's
resource name or set the --project
flag to -
and pass its resource name
suffix.
Usage
Examples
Read the service principal using the resource name suffix "example-sp":
Read the service principal using the service principal's resource name:
Positional arguments
SP_NAME
- The name of the service principal to read. The name may be specified as either:- The service principal's resource name. Formatted as one of the following:
- The resource name suffix,
SP_NAME
.