Skip to content

KMS  >  Structures  >  RecipientInfo

RecipientInfo

Structure Class

RecipientInfo dataclass

Bases: _SerdeShape

Contains information about the party that receives the response from the API operation.

This data type is designed to support Amazon Web Services Nitro Enclaves and Amazon Web Services NitroTPM, which lets you create an attested environment in Amazon EC2. For information about the interaction between KMS and Amazon Web Services Nitro Enclaves or Amazon Web Services NitroTPM, see Cryptographic attestation support in KMS in the Key Management Service Developer Guide.

Attributes

attestation_document class-attribute instance-attribute
attestation_document: bytes | None = ...

The attestation document for an Amazon Web Services Nitro Enclave or a NitroTPM. This document includes the enclave's public key.

key_encryption_algorithm class-attribute instance-attribute
key_encryption_algorithm: str | None = ...

The encryption algorithm that KMS should use with the public key for an Amazon Web Services Nitro Enclave or NitroTPM to encrypt plaintext values for the response. The only valid value is RSAES_OAEP_SHA_256.