Enable encryptedFieldsMap configuration using keyAltName instead of random keyId

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Unknown
    • None
    • Affects Version/s: None
    • Component/s: Doctrine
    • None
    • PHP Drivers
    • None
    • None
    • None
    • None
    • None
    • None

      The keyId are generated randomly by autoEncryption when the collection is created. Therefore the encryptedFieldsMap in the configuration needs to be different for each environment (the same master key must not be used for dev and prod).

       

      The goal is to specify the keyAltName for the key of each encrypted field (it could be generated from the namespace + field path).

              Assignee:
              Unassigned
              Reporter:
              Jérôme Tamarelle
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: