Details
-
Improvement
-
Resolution: Won't Do
-
Major - P3
-
None
-
None
Description
In https://github.com/mongodb/specifications/blob/master/source/client-side-encryption/client-side-encryption.rst#masterkey the following definition of AWS master key is used:
{
|
region: String, // Required.
|
key: String, // Required. The Amazon Resource Name (ARN) to the AWS customer master key (CMK).
|
endpoint: String // Optional. An alternate host identifier to send KMS requests to. May include port number.
|
}
|
Looking at this definition, it seems to me that the "key" should be called "arn" because 1) it is defined to be the ARN and 2) the entire data structure is called "key" already.
Looking at Amazon's documentation for ARN (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html), ARN is a name and the entire page does not use the word "key" to refer to the ARN at all.