Method: projects.locations.externalAccountKeys.create

Creates a new ExternalAccountKey bound to the project.

HTTP request

POST https://publicca.googleapis.com/v1/{parent=projects/*/locations/*}/externalAccountKeys

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The parent resource where this externalAccountKey will be created. Format: projects/[projectId]/locations/[location]. At present only the "global" location is supported.

Request body

The request body contains an instance of ExternalAccountKey.

Response body

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

Authorization Scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the parent resource:

  • publicca.externalAccountKeys.create

For more information, see the IAM documentation.