KeyVault.addKeyAltName()¶
- 
KeyVault.addKeyAltName(UUID, keyAltName)¶
- Adds the - keyAltNameto the- keyAltNamesarray of the data encryption key with- UUID.- keyAltNamemust be unique among all keys in the key vault.- Use the - getKeyVault()method with a partial index filter on documents with- keyAltNamesto automatically create a unique index on the- keyAltNamesfield.- This method is an alias for - addKeyAlternateName().
See also