Method: projects.locations.workloadIdentityPools.namespaces.managedIdentities.create

Creates a new WorkloadIdentityPoolManagedIdentity in a WorkloadIdentityPoolNamespace.

HTTP request

POST https://iam.googleapis.com/v1/{parent=projects/*/locations/*/workloadIdentityPools/*/namespaces/*}/managedIdentities

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The parent resource to create the manage identity in. The only supported location is global.

Query parameters

Parameters
workloadIdentityPoolManagedIdentityId

string

Required. The ID to use for the managed identity. This value must: * contain at most 63 characters * contain only lowercase alphanumeric characters or - * start with an alphanumeric character * end with an alphanumeric character

The prefix "gcp-" will be reserved for future uses.

Request body

The request body contains an instance of WorkloadIdentityPoolManagedIdentity.

Response body

If successful, the response body contains a newly created instance of Operation.

Authorization scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/cloud-platform
  • https://www.googleapis.com/auth/iam

For more information, see the Authentication Overview.