Skip to content

do not allow key= on decrypt with aws-kms master key provider #80

@mattsb42-aws

Description

@mattsb42-aws

Problem

When decrypting with the AWS KMS master key provider, specifying the master key does not functionally do anything useful because the master key provider mirrors the KMS service behavior in decrypting any encrypted data key protected by a KMS CMK for which the calling identity has appropriate access. Accepting key values in an AWS KMS master key provider configuration on decrypt creates the false image that only those keys will be used for decrypt.

Solution

Raise an argument parsing error if a key value is provided with an AWS KMS master key provider on decrypt.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions