Skip to content

ReEncryptResponse

Source code in docs_src/capo_kms/types/re_encrypt_response.py
class ReEncryptResponse(TypedDict, closed=True):
    ciphertext_blob: NotRequired["capo_kms.types.ciphertext_type.CiphertextType"]
    """<p>The reencrypted data. When you use the HTTP API or the Amazon Web Services CLI, the value is Base64-encoded. Otherwise, it is not Base64-encoded.</p>"""
    source_key_id: NotRequired["capo_kms.types.key_id_type.KeyIdType"]
    """<p>Unique identifier of the KMS key used to originally encrypt the data.</p>"""
    key_id: NotRequired["capo_kms.types.key_id_type.KeyIdType"]
    """<p>The Amazon Resource Name (<a href="https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#key-id-key-ARN">key ARN</a>) of the KMS key that was used to reencrypt the data.</p>"""
    source_encryption_algorithm: NotRequired[
        "capo_kms.types.encryption_algorithm_spec.EncryptionAlgorithmSpec"
    ]
    """<p>The encryption algorithm that was used to decrypt the ciphertext before it was reencrypted.</p>"""
    destination_encryption_algorithm: NotRequired[
        "capo_kms.types.encryption_algorithm_spec.EncryptionAlgorithmSpec"
    ]
    """<p>The encryption algorithm that was used to reencrypt the data.</p>"""
    source_key_material_id: NotRequired[
        "capo_kms.types.backing_key_id_type.BackingKeyIdType"
    ]
    """<p>The identifier of the key material used to originally encrypt the data. This field is present only when the original encryption used a symmetric encryption KMS key.</p>"""
    destination_key_material_id: NotRequired[
        "capo_kms.types.backing_key_id_type.BackingKeyIdType"
    ]
    """<p>The identifier of the key material used to reencrypt the data. This field is present only when data is reencrypted using a symmetric encryption KMS key.</p>"""

ciphertext_blob instance-attribute

ciphertext_blob: NotRequired[CiphertextType]

The reencrypted data. When you use the HTTP API or the Amazon Web Services CLI, the value is Base64-encoded. Otherwise, it is not Base64-encoded.

destination_encryption_algorithm instance-attribute

destination_encryption_algorithm: NotRequired[EncryptionAlgorithmSpec]

The encryption algorithm that was used to reencrypt the data.

destination_key_material_id instance-attribute

destination_key_material_id: NotRequired[BackingKeyIdType]

The identifier of the key material used to reencrypt the data. This field is present only when data is reencrypted using a symmetric encryption KMS key.

key_id instance-attribute

key_id: NotRequired[KeyIdType]

The Amazon Resource Name (key ARN) of the KMS key that was used to reencrypt the data.

source_encryption_algorithm instance-attribute

source_encryption_algorithm: NotRequired[EncryptionAlgorithmSpec]

The encryption algorithm that was used to decrypt the ciphertext before it was reencrypted.

source_key_id instance-attribute

source_key_id: NotRequired[KeyIdType]

Unique identifier of the KMS key used to originally encrypt the data.

source_key_material_id instance-attribute

source_key_material_id: NotRequired[BackingKeyIdType]

The identifier of the key material used to originally encrypt the data. This field is present only when the original encryption used a symmetric encryption KMS key.