Skip to content

keep plaintext data keys in KMS responses out of logs #54

@mattsb42-aws

Description

@mattsb42-aws

Problem

At DEBUG level output, botocore currently logs the full response of each API call. In the case of our use, this includes the plaintext of data keys as they are being generated or decrypted by KMS.

By enabling the most verbose level of debug output for this CLI (-vvvv), you do end up with DEBUG level output for botocore.

Options

  1. Work with botocore team to redact KMS responses in botocore.
  2. We are already applying a custom filter to the root handler. We can extend that filter to catch and redact all KMS responses.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions