# REST Resource: projects.locations.externalAccountKeys

- [Resource: ExternalAccountKey](https://docs.cloud.google.com/certificate-manager/docs/reference/public-ca/rest/v1beta1/projects.locations.externalAccountKeys#ExternalAccountKey)
  - [JSON representation](https://docs.cloud.google.com/certificate-manager/docs/reference/public-ca/rest/v1beta1/projects.locations.externalAccountKeys#ExternalAccountKey.SCHEMA_REPRESENTATION)
- [Methods](https://docs.cloud.google.com/certificate-manager/docs/reference/public-ca/rest/v1beta1/projects.locations.externalAccountKeys#METHODS_SUMMARY)

## Resource: ExternalAccountKey

A representation of an ExternalAccountKey used for [external account binding](https://tools.ietf.org/html/rfc8555#section-7.3.4) within ACME.

| JSON representation |
|---|
| ``` { "name": string, "keyId": string, "b64MacKey": string } ``` |

| Fields ||
|---|---|
| `name` | `string` Output only. Resource name. projects/{project}/locations/{location}/externalAccountKeys/{keyId} |
| `keyId` | `string` Output only. Key ID. It is generated by the PublicCertificateAuthorityService when the ExternalAccountKey is created |
| `b64MacKey` | `string (https://developers.google.com/discovery/v1beta1/type-format format)` Output only. Base64-URL-encoded HS256 key. It is generated by the PublicCertificateAuthorityService when the ExternalAccountKey is created A base64-encoded string. |

| ## Methods ||
|---|---|
| ### `https://docs.cloud.google.com/certificate-manager/docs/reference/public-ca/rest/v1beta1/projects.locations.externalAccountKeys/create` | Creates a new `https://docs.cloud.google.com/certificate-manager/docs/reference/public-ca/rest/v1beta1/projects.locations.externalAccountKeys#ExternalAccountKey` bound to the project. |