In this article
Interpret the dry-run mode and exception class before calling a key-access check successful recovery.
The operational scenario
A recovery checklist runs a KMS Decrypt dry run and receives an exception. One operator reports a failed key, while another treats the same result as proof that an encrypted model artifact can be recovered. Either conclusion can be overstated. The precise exception and selected dry-run modifiers determine what was checked, and no recovered plaintext has yet been observed.
The trust-boundary mechanism
AWS documents DryRunOperationException as the would-succeed result of a supported dry-run request. Access denial and invalid parameters are separate outcomes. Decrypt also supports IGNORE_CIPHERTEXT for authorization-only validation without validating a ciphertext, requiring an explicit key identifier in that mode. Such a permission check cannot establish that a particular stored blob matches the key, has intact bytes or can pass the application recovery procedure.
Define the control contract
Define whether the question is permission to use a key, validation of a complete Decrypt request or actual recovery of a harmless encrypted fixture. Preserve the exact modifier, key identity and intended caller context. Avoid mutable key aliases obscuring the reviewed target where stable identity is required. Do not export private key material or place recovered application data into an incident bundle merely to make a permission result look more concrete.
A step-by-step verification
First inspect the request structure and the chosen API contract. In an authorized isolated fixture, compare an allowed dry run, an intentionally unauthorized identity and a malformed parameter case. Classify the exception semantically rather than counting every exception as failed access. If actual recovery is needed, perform a separate approved check with synthetic ciphertext and compare its recovered content under a clearly recorded boundary.
Evidence required for acceptance
Acceptance requires caller class, key identity, mode, exception class and the limited conclusion supported by that observation. Keep permission-only evidence distinct from ciphertext validation and successful decryption. Preserve request timing because access policy and key state can change. Dry runs also consume the documented request quota, so repeated checking needs a bounded protocol; it is not an unlimited observation mechanism outside ordinary service constraints.
Failure cases and limits
A successful permission check does not guarantee future key availability or validate an entire encrypted backup. Network paths, application envelope format and retained data keys remain separate dependencies. Conversely, the expected dry-run exception is not automatically an incident. This review supplies a result-classification contract without changing keys, executing live cryptographic requests or claiming that a syntactically correct recovery plan has already restored private data.
Primary references and related reading
Interpret the dry-run mode and exception class before calling a key-access check successful recovery. AWS KMS Decrypt dry-run scope; AWS KMS dry-run result interpretation.
The proposed investigation of kms dryrun authorization not decryption proof is a proposed control review; no live security test was executed. Related reading: Retain decryption dependencies for an encrypted etcd restore; Equipment security when joining a GPU pool.
Earn rental income from GPUs
Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.