A developer is writing a local utility to back up database exports to Amazon S3. The compliance policy requires the developer to use client-side envelope encryption with an AWS KMS customer managed key to secure the files before they are uploaded. Which of the following actions must the developer perform to encrypt the files locally using client-side envelope encryption? (Select TWO.)
- Call the AWS KMS GenerateDataKey API operation to obtain a plaintext data key and an encrypted copy of the data key.Cevap
- Encrypt the database exports locally using the plaintext data key, and then securely discard the plaintext data key from memory.Cevap
- CSend the database export files directly to the AWS KMS Encrypt API operation to perform the encryption.
- DCall the AWS KMS GenerateDataKeyWithoutPlaintext API operation to obtain the plaintext key needed to encrypt the files.
- ERetrieve a plaintext data key dynamically from the AWS Systems Manager Parameter Store as a SecureString parameter to encrypt the local files.
Cevap
The developer must call the AWS KMS GenerateDataKey API operation to obtain a plaintext data key and an encrypted copy of the data key, encrypt the database exports locally using the plaintext data key, and then securely discard the plaintext key from memory.
In client-side envelope encryption, the developer must first call the GenerateDataKey API operation using an AWS KMS customer managed key (CMK). This operation returns both a plaintext data key (used to encrypt the file locally) and an encrypted copy of the data key (stored alongside the encrypted data). Once the files are encrypted locally, the plaintext data key must be securely deleted from memory to maintain security.
Adım Adım Çözüm
Anahtar Kavram
AWS KMS Envelope Encryption Workflow