# Class KeyOperationAttestation (3.14.0)

3.14.0 (latest) 3.13.0 3.12.0 3.11.0 3.10.0 3.9.0 3.8.0 3.7.0 3.6.0 3.5.1 3.4.0 3.3.1 3.2.2 3.1.1 3.0.0 2.24.2 2.23.0 2.22.0 2.21.4 2.20.0 2.19.2 2.18.0 2.17.0 2.16.1 2.15.0 2.14.1 2.13.0 2.12.3 2.11.2 2.10.1 2.9.0 2.8.0 2.7.0 2.6.1 2.5.0 2.4.3 2.3.0 2.2.0 2.1.0 2.0.1 1.4.2 1.3.0 1.2.1 1.1.0

    KeyOperationAttestation(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Contains an HSM-generated attestation about a key operation. For
more information, see [Verifying attestations](https://cloud.google.com/kms/docs/attest-key).

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `format` | `https://docs.cloud.google.com/python/docs/reference/cloudkms/latest/google.cloud.kms_v1.types.KeyOperationAttestation.AttestationFormat` Output only. The format of the attestation data. |
| `content` | `bytes` Output only. The attestation data provided by the HSM when the key operation was performed. |
| `cert_chains` | `https://docs.cloud.google.com/python/docs/reference/cloudkms/latest/google.cloud.kms_v1.types.KeyOperationAttestation.CertificateChains` Output only. The certificate chains needed to validate the attestation |

## Classes

### AttestationFormat

    AttestationFormat(value)

Attestation formats provided by the HSM.

        See
        https://www.marvell.com/products/security-solutions/nitrox-hs-adapters/software-key-attestation.html.
    CAVIUM_V2_COMPRESSED (4):
        Cavium HSM attestation V2 compressed with
        gzip. This is a new format introduced in
        Cavium's version 3.2-08.

### CertificateChains

    CertificateChains(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Certificate chains needed to verify the attestation.
Certificates in chains are PEM-encoded and are ordered based on
<https://tools.ietf.org/html/rfc5246#section-7.4.2>.