Required. The parent resource where this externalAccountKey will be created. Format: projects/[projectId]/locations/[location]. At present only the "global" location is supported.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-17 UTC."],[[["\u003cp\u003eThis content outlines how to create a new ExternalAccountKey within a project, detailing the required HTTP request format and endpoint.\u003c/p\u003e\n"],["\u003cp\u003eCreating an ExternalAccountKey requires specifying the \u003ccode\u003eparent\u003c/code\u003e path parameter, which defines the project and location where the key will be created, currently only supporting the "global" location.\u003c/p\u003e\n"],["\u003cp\u003eThe process involves sending a POST request with an ExternalAccountKey instance in the request body, and a successful response will contain the newly created ExternalAccountKey instance.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization for this operation requires the \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e OAuth scope, as well as \u003ccode\u003epublicca.externalAccountKeys.create\u003c/code\u003e IAM permission on the \u003ccode\u003eparent\u003c/code\u003e resource.\u003c/p\u003e\n"]]],[],null,["# Method: projects.locations.externalAccountKeys.create\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization Scopes](#body.aspect)\n- [IAM Permissions](#body.aspect_1)\n\nCreates a new [ExternalAccountKey](/certificate-manager/docs/reference/public-ca/rest/v1beta1/projects.locations.externalAccountKeys#ExternalAccountKey) bound to the project.\n\n### HTTP request\n\n`POST https://publicca.googleapis.com/v1beta1/{parent=projects/*/locations/*}/externalAccountKeys`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Request body\n\nThe request body contains an instance of [ExternalAccountKey](/certificate-manager/docs/reference/public-ca/rest/v1beta1/projects.locations.externalAccountKeys#ExternalAccountKey).\n\n### Response body\n\nIf successful, the response body contains a newly created instance of [ExternalAccountKey](/certificate-manager/docs/reference/public-ca/rest/v1beta1/projects.locations.externalAccountKeys#ExternalAccountKey).\n\n### Authorization Scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](https://cloud.google.com/docs/authentication/).\n\n### IAM Permissions\n\nRequires the following [IAM](https://cloud.google.com/iam/docs) permission on the `parent` resource:\n\n- `publicca.externalAccountKeys.create`\n\nFor more information, see the [IAM documentation](https://cloud.google.com/iam/docs)."]]