## kms.gdc.goog/v1

### AEADKey

Represents a cryptographic key to use for Authenticated
Encryption with Associated Data (AEAD) operations.

*Appears in:*
- [AEADKeyList](https://docs.cloud.google.com/distributed-cloud/hosted/docs/1.16/gdcag/apis/service/kms/v1/kms-v1#aeadkeylist)

| Field | Description |
|---|---|
| `apiVersion` *string* | `kms.gdc.goog/v1` |
| `kind` *string* | `AEADKey` |
| `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` *[AEADKeySpec](https://docs.cloud.google.com/distributed-cloud/hosted/docs/1.16/gdcag/apis/service/kms/v1/kms-v1#aeadkeyspec)* |   |
| `status` *[AEADKeyStatus](https://docs.cloud.google.com/distributed-cloud/hosted/docs/1.16/gdcag/apis/service/kms/v1/kms-v1#aeadkeystatus)* |   |

### AEADKeyList

Represents a collection of AEADKeys.

| Field | Description |
|---|---|
| `apiVersion` *string* | `kms.gdc.goog/v1` |
| `kind` *string* | `AEADKeyList` |
| `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` *[AEADKey](https://docs.cloud.google.com/distributed-cloud/hosted/docs/1.16/gdcag/apis/service/kms/v1/kms-v1#aeadkey) array* |   |

### AEADKeySpec

Provides the specification for an AEADKey.

*Appears in:*
- [AEADKey](https://docs.cloud.google.com/distributed-cloud/hosted/docs/1.16/gdcag/apis/service/kms/v1/kms-v1#aeadkey)

| Field | Description |
|---|---|
| `algorithm` *AEADAlgorithm* |   |

### AEADKeyStatus

Provides the status for an AEADKey.

*Appears in:*
- [AEADKey](https://docs.cloud.google.com/distributed-cloud/hosted/docs/1.16/gdcag/apis/service/kms/v1/kms-v1#aeadkey)

| Field | Description |
|---|---|
| `conditions` *[Condition](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.25/#condition-v1-meta) array* | A report that indicates when an AEADKey creation is complete and ready for use. |
| `encryptedKeyMaterial` *integer array* | Key material encrypted by the KMS root key. |
| `rootKeyID` *string* | Identifier to the root key that wrapped the key material. Follows the format `root-key-namespace/root-key-type/root-key-name/version` Example - `kms-system/ctm/org1-root-key/1` or `kms-system/local/org-1-root-key/1` |

### KeyExport

Represents a request to export a key.

*Appears in:*
- [KeyExportList](https://docs.cloud.google.com/distributed-cloud/hosted/docs/1.16/gdcag/apis/service/kms/v1/kms-v1#keyexportlist)

| Field | Description |
|---|---|
| `apiVersion` *string* | `kms.gdc.goog/v1` |
| `kind` *string* | `KeyExport` |
| `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` *[KeyExportSpec](https://docs.cloud.google.com/distributed-cloud/hosted/docs/1.16/gdcag/apis/service/kms/v1/kms-v1#keyexportspec)* |   |
| `status` *[KeyExportStatus](https://docs.cloud.google.com/distributed-cloud/hosted/docs/1.16/gdcag/apis/service/kms/v1/kms-v1#keyexportstatus)* |   |

### KeyExportList

Represents a collection of KeyExport resources.

| Field | Description |
|---|---|
| `apiVersion` *string* | `kms.gdc.goog/v1` |
| `kind` *string* | `KeyExportList` |
| `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` *[KeyExport](https://docs.cloud.google.com/distributed-cloud/hosted/docs/1.16/gdcag/apis/service/kms/v1/kms-v1#keyexport) array* |   |

### KeyExportSpec

Provides the specification for a KeyExport resource.

*Appears in:*
- [KeyExport](https://docs.cloud.google.com/distributed-cloud/hosted/docs/1.16/gdcag/apis/service/kms/v1/kms-v1#keyexport)

| Field | Description |
|---|---|
| `context` *[KeySharingContext](https://docs.cloud.google.com/distributed-cloud/hosted/docs/1.16/gdcag/apis/service/kms/v1/kms-v1#keysharingcontext)* | The information necessary to wrap the key to export. |
| `keyToExport` *[TypedLocalObjectReference](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.25/#typedlocalobjectreference-v1-core)* | A reference to the key for export. |

### KeyExportStatus

Provides the status for a KeyExport resource.

*Appears in:*
- [KeyExport](https://docs.cloud.google.com/distributed-cloud/hosted/docs/1.16/gdcag/apis/service/kms/v1/kms-v1#keyexport)

| Field | Description |
|---|---|
| `conditions` *[Condition](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.25/#condition-v1-meta) array* | The status on the KeyExport resource as successful or failed, and provides a reason for the failure. |
| `exportedKey` *[WrappedKey](https://docs.cloud.google.com/distributed-cloud/hosted/docs/1.16/gdcag/apis/service/kms/v1/kms-v1#wrappedkey)* | The exported key material. |

### KeyImport

Represents a request to import a key.

*Appears in:*
- [KeyImportList](https://docs.cloud.google.com/distributed-cloud/hosted/docs/1.16/gdcag/apis/service/kms/v1/kms-v1#keyimportlist)

| Field | Description |
|---|---|
| `apiVersion` *string* | `kms.gdc.goog/v1` |
| `kind` *string* | `KeyImport` |
| `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` *[KeyImportSpec](https://docs.cloud.google.com/distributed-cloud/hosted/docs/1.16/gdcag/apis/service/kms/v1/kms-v1#keyimportspec)* |   |
| `status` *[KeyImportStatus](https://docs.cloud.google.com/distributed-cloud/hosted/docs/1.16/gdcag/apis/service/kms/v1/kms-v1#keyimportstatus)* |   |

### KeyImportList

Represents a collection of key imports.

| Field | Description |
|---|---|
| `apiVersion` *string* | `kms.gdc.goog/v1` |
| `kind` *string* | `KeyImportList` |
| `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` *[KeyImport](https://docs.cloud.google.com/distributed-cloud/hosted/docs/1.16/gdcag/apis/service/kms/v1/kms-v1#keyimport) array* |   |

### KeyImportSpec

Provides the specification for a KeyImport resource.

*Appears in:*
- [KeyImport](https://docs.cloud.google.com/distributed-cloud/hosted/docs/1.16/gdcag/apis/service/kms/v1/kms-v1#keyimport)

| Field | Description |
|---|---|
| `context` *[KeySharingContext](https://docs.cloud.google.com/distributed-cloud/hosted/docs/1.16/gdcag/apis/service/kms/v1/kms-v1#keysharingcontext)* | The information from the sender to unwrap the key material to import. |
| `keyToImport` *[WrappedKey](https://docs.cloud.google.com/distributed-cloud/hosted/docs/1.16/gdcag/apis/service/kms/v1/kms-v1#wrappedkey)* | The wrapped key material to import. |

### KeyImportStatus

Provides the status for a KeyImport resource.

*Appears in:*
- [KeyImport](https://docs.cloud.google.com/distributed-cloud/hosted/docs/1.16/gdcag/apis/service/kms/v1/kms-v1#keyimport)

| Field | Description |
|---|---|
| `conditions` *[Condition](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.25/#condition-v1-meta) array* | The status of the KeyImport resource as awaiting, successful, or failed and a reason for the failure. |
| `peerContext` *[PeerSharingContext](https://docs.cloud.google.com/distributed-cloud/hosted/docs/1.16/gdcag/apis/service/kms/v1/kms-v1#peersharingcontext)* | The information required to wrap the key to import. |
| `importedKeyRef` *[TypedLocalObjectReference](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.25/#typedlocalobjectreference-v1-core)* | A reference to the imported key. |

### KeyMetadata

Represents the attributes required to create or re-create the customer key.

*Appears in:*
- [WrappedKey](https://docs.cloud.google.com/distributed-cloud/hosted/docs/1.16/gdcag/apis/service/kms/v1/kms-v1#wrappedkey)

| Field | Description |
|---|---|
| `algorithm` *string* | The algorithm to use with the key. |

### KeySharingContext

Contains information by the party that initiates intent for key import and export operations.

*Appears in:*
- [KeyExportSpec](https://docs.cloud.google.com/distributed-cloud/hosted/docs/1.16/gdcag/apis/service/kms/v1/kms-v1#keyexportspec)
- [KeyImportSpec](https://docs.cloud.google.com/distributed-cloud/hosted/docs/1.16/gdcag/apis/service/kms/v1/kms-v1#keyimportspec)

| Field | Description |
|---|---|
| `mechanism` *KeySharingMechanism* | The algorithms to use to wrap keys. |
| `publicKey` *integer array* |   |

### PeerSharingContext

Contains information by the party that responds to the intent for key import operations.

*Appears in:*
- [KeyImportStatus](https://docs.cloud.google.com/distributed-cloud/hosted/docs/1.16/gdcag/apis/service/kms/v1/kms-v1#keyimportstatus)

| Field | Description |
|---|---|
| `publicKey` *integer array* |   |
| `privateKey` *integer array* |   |
| `rootKeyID` *string* | Identifier to the root key that wrapped the key material. Follows the format `root-key-namespace/root-key-type/root-key-name/version` Example - `kms-system/ctm/org1-root-key/1` or `kms-system/local/org-1-root-key/1` |

### ProtectionLevel

ProtectionLevel bundles the cryptographic execution mode and its targeted routing backend.

*Appears in:*
- [SigningKeySpec](https://docs.cloud.google.com/distributed-cloud/hosted/docs/1.16/gdcag/apis/service/kms/v1/kms-v1#signingkeyspec)

| Field | Description |
|---|---|
| `mode` *ProtectionMode* | Mode dictates the boundary and mechanism of cryptographic operations for the key. |
| `cryptoBackendRef` *[LocalObjectReference](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.25/#localobjectreference-v1-core)* | CryptoBackendRef explicitly points to the CryptoBackend CR within this namespace. This field must be omitted when Mode is WRAPPED_BY_ROOTKEY. For all other modes, if this field is omitted, the KMS will default to routing to a backend named "default". |

### RotationJob

Represents a cluster level resource that runs root key rotation, and re-encryption of all KMS keys
in the cluster.

*Appears in:*
- [RotationJobList](https://docs.cloud.google.com/distributed-cloud/hosted/docs/1.16/gdcag/apis/service/kms/v1/kms-v1#rotationjoblist)

| Field | Description |
|---|---|
| `apiVersion` *string* | `kms.gdc.goog/v1` |
| `kind` *string* | `RotationJob` |
| `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` *[RotationJobSpec](https://docs.cloud.google.com/distributed-cloud/hosted/docs/1.16/gdcag/apis/service/kms/v1/kms-v1#rotationjobspec)* |   |
| `status` *[RotationJobStatus](https://docs.cloud.google.com/distributed-cloud/hosted/docs/1.16/gdcag/apis/service/kms/v1/kms-v1#rotationjobstatus)* |   |

### RotationJobList

Represents a collection of RotationJob resources.

| Field | Description |
|---|---|
| `apiVersion` *string* | `kms.gdc.goog/v1` |
| `kind` *string* | `RotationJobList` |
| `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` *[RotationJob](https://docs.cloud.google.com/distributed-cloud/hosted/docs/1.16/gdcag/apis/service/kms/v1/kms-v1#rotationjob) array* |   |

### RotationJobSpec

Provides the specification for a RotationJob resource.

*Appears in:*
- [RotationJob](https://docs.cloud.google.com/distributed-cloud/hosted/docs/1.16/gdcag/apis/service/kms/v1/kms-v1#rotationjob)

| Field | Description |
|---|---|
| `rootKeyResourceName` *string* | The root key name specified in the form namespaces//secrets/ |
| `ttlSecondsAfterCompletion` *integer* | TTLSecondsAfterCompletion specifies how long a RotationJob should persist after it's completed. If this field is not set, it will default to 24h (86400s) |

### RotationJobStatus

Provides the status for a RotationJob resource.

*Appears in:*
- [RotationJob](https://docs.cloud.google.com/distributed-cloud/hosted/docs/1.16/gdcag/apis/service/kms/v1/kms-v1#rotationjob)

| Field | Description |
|---|---|
| `conditions` *[Condition](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.25/#condition-v1-meta) array* | The status of the RotationJob resource as successful or failed, and provides a reason for the failure. |

### SigningKey

Represents a cryptographic key to use for creating digital
signatures.

*Appears in:*
- [SigningKeyList](https://docs.cloud.google.com/distributed-cloud/hosted/docs/1.16/gdcag/apis/service/kms/v1/kms-v1#signingkeylist)

| Field | Description |
|---|---|
| `apiVersion` *string* | `kms.gdc.goog/v1` |
| `kind` *string* | `SigningKey` |
| `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` *[SigningKeySpec](https://docs.cloud.google.com/distributed-cloud/hosted/docs/1.16/gdcag/apis/service/kms/v1/kms-v1#signingkeyspec)* |   |
| `status` *[SigningKeyStatus](https://docs.cloud.google.com/distributed-cloud/hosted/docs/1.16/gdcag/apis/service/kms/v1/kms-v1#signingkeystatus)* |   |

### SigningKeyList

Represents a collection of SigningKey resources.

| Field | Description |
|---|---|
| `apiVersion` *string* | `kms.gdc.goog/v1` |
| `kind` *string* | `SigningKeyList` |
| `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` *[SigningKey](https://docs.cloud.google.com/distributed-cloud/hosted/docs/1.16/gdcag/apis/service/kms/v1/kms-v1#signingkey) array* |   |

### SigningKeySpec

Provides the specification for a SigningKey resource.

*Appears in:*
- [SigningKey](https://docs.cloud.google.com/distributed-cloud/hosted/docs/1.16/gdcag/apis/service/kms/v1/kms-v1#signingkey)

| Field | Description |
|---|---|
| `algorithm` *SigningAlgorithm* |   |
| `protectionLevel` *[ProtectionLevel](https://docs.cloud.google.com/distributed-cloud/hosted/docs/1.16/gdcag/apis/service/kms/v1/kms-v1#protectionlevel)* | ProtectionLevel configures how and where the key material is managed and routed. If this entire block is omitted, the KMS defaults to WRAPPED_BY_ROOTKEY ProtectionMode. Limited access: This field might not be available as it may not be accredited for use in your deployment. You can access it when it's approved. |
| `existingKeyID` *string* | ExistingKeyID specifies the identifier of a pre-existing HSM key to onboard. The KMS uses this value to verify the key's existence during initial creation, which supports use cases like Multi-Zone. To bind to an existing key from another zone, populate this field using the KeyIdentifier found in the Status of the original SigningKey. If left empty, the KMS will generate a new key. This field is immutable and cannot be changed in spec after the SigningKey is created. Limited access: This field might not be available as it may not be accredited for use in your deployment. You can access it when it's approved. |

### SigningKeyStatus

Provides the status for a SigningKey resource.

*Appears in:*
- [SigningKey](https://docs.cloud.google.com/distributed-cloud/hosted/docs/1.16/gdcag/apis/service/kms/v1/kms-v1#signingkey)

| Field | Description |
|---|---|
| `conditions` *[Condition](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.25/#condition-v1-meta) array* | A report that indicates when a SigningKey creation is complete and ready for use. |
| `encryptedKeyMaterial` *integer array* | Key material encrypted by the KMS root key. |
| `publicKey` *integer array* | The public key of the asymmetric signing key pair. |
| `rootKeyID` *string* | Identifier to the root key that wrapped the private key material. Follows the format `root-key-namespace/root-key-type/root-key-name/version` Example - `kms-system/ctm/org1-root-key/1` or `kms-system/local/org-1-root-key/1` |
| `keyIdentifier` *string* | KeyIdentifier is the primary identifier for private and public key objects. This is the serialized goog.gdc.kms.v1.KeyIdentifier protobuf message schema. The field is immutable once set and cannot be removed. Limited access: This field might not be available as it may not be accredited for use in your deployment. You can access it when it's approved. |

### WrappedKey

Contains the customer key wrapped for import or export operations.

*Appears in:*
- [KeyExportStatus](https://docs.cloud.google.com/distributed-cloud/hosted/docs/1.16/gdcag/apis/service/kms/v1/kms-v1#keyexportstatus)
- [KeyImportSpec](https://docs.cloud.google.com/distributed-cloud/hosted/docs/1.16/gdcag/apis/service/kms/v1/kms-v1#keyimportspec)

| Field | Description |
|---|---|
| `metadata` *[KeyMetadata](https://docs.cloud.google.com/distributed-cloud/hosted/docs/1.16/gdcag/apis/service/kms/v1/kms-v1#keymetadata)* | Refer to Kubernetes API documentation for fields of `metadata`. |
| `keyMaterial` *integer array* | The wrapped key material. |