list-service-principal-cloud-identities

subtitle

List cloud identity mappings for service principals.

version

0.9.126

Description

List cloud identity mappings for service principals.

list-service-principal-cloud-identities is a paginated operation. Multiple API calls may be issued in order to retrieve the entire data set of results. You can disable pagination by providing the --no-paginate argument.

Synopsis

  list-service-principal-cloud-identities
[--service-principals <value>]
[--environment-crn <value>]
[--max-items <value>]
[--starting-token <value>]
[--page-size <value>]
[--cli-input-json <value>]
[--generate-cli-skeleton]

Options

--service-principals (array)

The service principals for which cloud identity mappings should be listed. If omitted, mappings for all service principals are listed.

Syntax:

"string" "string" ...

--environment-crn (string)

The CRN of the environment for which cloud identity mappings should be listed. If omitted, mappings for all environments are listed.

--max-items (integer)

The total number of items to return. If the total number of items available is more than the value specified in max-items then a nextToken will be provided in the output that you can use to resume pagination. This nextToken response element should not be used directly outside of the CDP CLI. This option cannnot be combined with the no-paginate CLI option. If no max-items value is specified, then a default value of 100 is used.

--starting-token (string)

A token to specify where to start paginating. This is the nextToken from a previously truncated response.

--page-size (integer)

The size of each page. Generally this does not need to be set and the default page size used is appropriate.

--cli-input-json (string)

Performs service operation based on the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton. If other arguments are provided on the command line, the CLI values will override the JSON-provided values.

--generate-cli-skeleton (boolean)

Prints a sample input JSON to standard output. Note the specified operation is not run if this argument is specified. The sample input can be used as an argument for --cli-input-json.

Output

servicePrincipalCloudIdentities -> (array)

The list of service principal cloud identity mappings.

item -> (object)

Cloud identity mappings for a service principal.

servicePrincipal -> (string)

The name of the service principal that the cloud identities are assigned to.

azureCloudIdentities -> (array)

The list of Azure cloud identities assigned to the service principal.

item -> (object)

An Azure cloud identity.

objectId -> (string)

The Azure object ID (OID).

environmentCrn -> (string)

The CRN of the environment this Azure cloud identity is associated with. If omitted, this cloud identity is associated with all Azure environments.

nextToken -> (string)

The token to use when requesting the next set of results. If not present, there are no additional results.

Form Factors

public, private