## hsm.gdc.goog/v1

Contains API Schema definitions for the HSM group.

### CTMKey

Represents a resource on the CipherTrust Manager.

*Appears in:*
- [CTMKeyList](https://docs.cloud.google.com/distributed-cloud/hosted/docs/latest/gdcag/apis/service/hsm/v1/hsm-v1.md.txt#ctmkeylist)

| Field | Description |
|---|---|
| `apiVersion` *string* | `hsm.gdc.goog/v1` |
| `kind` *string* | `CTMKey` |
| `metadata` *[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.25/#objectmeta-v1-meta)* | Refer to Kubernetes API documentation for fields of `metadata`. |
| `spec` *[CTMKeySpec](https://docs.cloud.google.com/distributed-cloud/hosted/docs/latest/gdcag/apis/service/hsm/v1/hsm-v1.md.txt#ctmkeyspec)* |   |
| `status` *[CTMKeyStatus](https://docs.cloud.google.com/distributed-cloud/hosted/docs/latest/gdcag/apis/service/hsm/v1/hsm-v1.md.txt#ctmkeystatus)* |   |

### CTMKeyDomain

Provides the domain a CTM key resides.

*Appears in:*
- [CTMKeySpec](https://docs.cloud.google.com/distributed-cloud/hosted/docs/latest/gdcag/apis/service/hsm/v1/hsm-v1.md.txt#ctmkeyspec)

| Field | Description |
|---|---|
| `name` *string* |   |
| `id` *string* |   |

### CTMKeyList

Represents a collection of CTM keys.

| Field | Description |
|---|---|
| `apiVersion` *string* | `hsm.gdc.goog/v1` |
| `kind` *string* | `CTMKeyList` |
| `metadata` *[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.25/#listmeta-v1-meta)* | Refer to Kubernetes API documentation for fields of `metadata`. |
| `items` *[CTMKey](https://docs.cloud.google.com/distributed-cloud/hosted/docs/latest/gdcag/apis/service/hsm/v1/hsm-v1.md.txt#ctmkey) array* |   |

### CTMKeySpec

Provides the specification for a CTM key.

*Appears in:*
- [CTMKey](https://docs.cloud.google.com/distributed-cloud/hosted/docs/latest/gdcag/apis/service/hsm/v1/hsm-v1.md.txt#ctmkey)

| Field | Description |
|---|---|
| `domain` *[CTMKeyDomain](https://docs.cloud.google.com/distributed-cloud/hosted/docs/latest/gdcag/apis/service/hsm/v1/hsm-v1.md.txt#ctmkeydomain)* | The domain a CTM key resides. |
| `details` *[KeyResource](https://docs.cloud.google.com/distributed-cloud/hosted/docs/latest/gdcag/apis/service/hsm/v1/hsm-v1.md.txt#keyresource)* | The details of a CTM key. |

### CTMKeyStatus

Provides the status of a CTM key.

*Appears in:*
- [CTMKey](https://docs.cloud.google.com/distributed-cloud/hosted/docs/latest/gdcag/apis/service/hsm/v1/hsm-v1.md.txt#ctmkey)

| Field | Description |
|---|---|
| `conditions` *[Condition](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.25/#condition-v1-meta) array* | The status of a CTM key. |
| `name` *string* | The name of a CTM key. |

### KeyMeta

*Appears in:*
- [KeyResource](https://docs.cloud.google.com/distributed-cloud/hosted/docs/latest/gdcag/apis/service/hsm/v1/hsm-v1.md.txt#keyresource)

| Field | Description |
|---|---|
| `customAttributes` *object (keys:string, values:string)* |   |

### KeyResource

Provides the details of a CTM key.

*Appears in:*
- [CTMKeySpec](https://docs.cloud.google.com/distributed-cloud/hosted/docs/latest/gdcag/apis/service/hsm/v1/hsm-v1.md.txt#ctmkeyspec)

| Field | Description |
|---|---|
| `id` *string* |   |
| `uri` *string* |   |
| `createdAt` *string* |   |
| `destroyDate` *string* |   |
| `name` *string* |   |
| `updatedAt` *string* |   |
| `meta` *[KeyMeta](https://docs.cloud.google.com/distributed-cloud/hosted/docs/latest/gdcag/apis/service/hsm/v1/hsm-v1.md.txt#keymeta)* |   |
| `version` *integer* |   |
| `algorithm` *string* |   |
| `size` *integer* |   |
| `objectType` *string* |   |
| `activationDate` *string* |   |
| `state` *string* |   |
| `uuid` *string* |   |