Skip to content

EncryptRequest

rboto-kms==0.4.0 · Service index · Types

Public import: from rboto_kms.types import EncryptRequest.

Used in: not referenced by operation signatures. Typed dictionary. Presence and nullability are separate: NotRequired permits omission; | None permits a null value.

EncryptRequest = TypedDict(
    "EncryptRequest",
    {
        "key_id": Required['str'],
        "plaintext": Required['bytes'],
        "encryption_context": NotRequired['dict[str, str]'],
        "grant_tokens": NotRequired['Sequence[str]'],
        "encryption_algorithm": NotRequired['EncryptionAlgorithmSpec'],
        "dry_run": NotRequired['bool'],
    },
)

EncryptionAlgorithmSpec