Initialize Policy Management
Initialize the policy management.
Create one policy that protects Date of Birth (DOB) using Datetime data element, with:
This example provides a walkthrough of the complete workflow to create a policy to protect a Date of Birth (DOB). DOB is a common piece of sensitive personal data, and organizations typically protect it using datetime tokenization. This tokenization preserves the YYYY‑MM‑DD structure while preventing direct exposure of the original value. In this example, a single role is used whose members are obtained from an LDAP-based Member Source. The role is granted permission to protect (tokenize) DOB values.
For this walkthrough, a dedicated DOB data element is created using a date‑specific tokenizer, ensuring that the output maintains a valid date format for downstream systems. The role and data element are combined into a single policy. The policy is then deployed to a datastore so applications working with DOB information can enforce the protection rules at runtime.
To execute any CLI or API command in this example, the following assumptions have been made:
CLI Examples
To execute any CLI command in this example, the following additional assumption has been made:
API Examples
To execute any API command in this example, the following additional assumption has been made:
Initialize the policy management.
Prepare data element.
Create member source.
Create a role.
Assign member source to a role.
Create a policy shell.
Define a rule that includes the data element and role.
Create a datastore.
Deploy the policy to a datastore.
Confirm the policy deployment.
Was this page helpful?