Mongo ObjectId Key

Generates unique object identifiers.

Can be assigned to text columns that contain MongoDB ObjectId values. The column value must be 12 bytes long.

Characteristics

Consistency

Yes, can be made self-consistent

Linking

No, cannot be linked

Differential privacy

No

Data-free

No

Allowed for primary keys

No

Allowed for unique columns

No

Uses format-preserving encryption (FPE)

No

Privacy ranking

  • 3 if not consistent

  • 4 if consistent

Generator ID (for the API)

How to configure

To configure the generator:

  1. A MongoID object identifier consists of an epoch timestamp, a random value, and an incremented counter. To only change the random value portion of the identifier, but keep the timestamp and counter portions, toggle Preserve Timestamp and Incremental Counter to the on position.

  2. Toggle the Consistency setting to indicate whether to make the generator self-consistent. By default, the generator is not consistent.

  3. If Structural data encryption is enabled, then to use it for this column, toggle Use data encryption process to the on position.

Last updated