---
title: "POST /v1/{+parent}/externalAccountKeys"
method: POST
path: "/v1/{+parent}/externalAccountKeys"
tags: ["projects"]
---

# POST /v1/{+parent}/externalAccountKeys

`POST /v1/{+parent}/externalAccountKeys`

Creates a new ExternalAccountKey bound to the project.

## Path parameters

- `parent` string, required

## Request body

- ExternalAccountKey — A representation of an ExternalAccountKey used for [external account binding](https://tools.ietf.org/html/rfc8555#section-7.3.4) within ACME.
  - `b64MacKey` string, byte — Output only. Base64-URL-encoded HS256 key. It is generated by the PublicCertificateAuthorityService when the ExternalAccountKey is created
  - `name` string — Output only. Resource name. projects/{project}/locations/{location}/externalAccountKeys/{key_id}
  - `keyId` string — Output only. Key ID. It is generated by the PublicCertificateAuthorityService when the ExternalAccountKey is created

## Response `200`

Successful response

---

[API](https://skmtc.dev/google/apis/publicca.md) · [All operations](https://skmtc.dev/google/apis/publicca/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/google/publicca/revisions/162f9ac0bf0a/schema)
