Method: projects.locations.workloadIdentityPools.getAllowedLocations

Returns the trust boundary info for a given workload identity pool.

HTTP request

GET https://iamcredentials.googleapis.com/v1/{name=projects/*/locations/*/workloadIdentityPools/*}/allowedLocations

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. Resource name of workload identity pool.

Authorization requires the following IAM permission on the specified resource name:

  • iam.workloadIdentityPools.get

Request body

The request body must be empty.

Response body

Represents a list of allowed locations for given workload identity pool.

If successful, the response body contains data with the following structure:

JSON representation
{
  "locations": [
    string
  ],
  "encodedLocations": string
}
Fields
locations[]

string

Output only. The human readable trust boundary locations. For example, ["us-central1", "europe-west1"]

encodedLocations

string

Output only. The hex encoded bitmap of the trust boundary locations