Uploaded image for project: 'Drivers'
  1. Drivers
  2. DRIVERS-930

Key in aws master key should be called "arn"

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Won't Do
    • Icon: Major - P3 Major - P3
    • None
    • Client Side Encryption
    • 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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: