LDT Use Cases
This section describes various LDT scenarios using the CTE APIs.
Suspend/Resume Rekey
The LDT rekey operation can be paused and resumed on the protected LDT clients. Run the ldtpause
API with "paused": true
to pause, and "paused": false
to resume the operation.
API
Sample
Key Rotation
On a path guarded using an LDT policy, you can create a new version of the key used for encryption. This triggers the rekey operation on the client for the GaurdPath using the rotated key.
API
Decrypting LDT-protected GuardPoints
This section describes steps to decrypt an LDT-protected GuardPoint using the CTE APIs.
Note
- Reverse migration/decryption is not supported for network shares.
To decrypt an LDT-protected GuardPoint:
Get the LDT policy currently being used by the GuardPoint.
Run the API
Example
This API returns the list of GuardPoints applied to the client. Copy the value of LDT
"policy_name"
(for example,ldt-policy
) applied to the desired LDT GuardPoint.Get the key linked to the LDT policy.
Run the API
Example
This API returns the LDT key rules of the LDT policy. Copy the value of
"key_id"
(for example,current-key
). This key is used to encrypt the LDT GuardPoint.Clone the current (latest) version of the key to a non-versioned CTE key.
Run the API
Request Parameters
Note
Make sure that
"cte_versioned"
is set tofalse
.Example
A new key with the specified name (for example,
cloned-key
) is created with version0
.Create a new LDT policy (for example,
new-ldt-policy
). In"ldt_key_rules"
, set:The cloned key (
cloned-key
) as the"key_id"
for"current_key"
.clear_key
as the"key_id"
for"transformation_key"
.
Run the API
Request Parameters
Example
A new LDT policy with the name
new-ldt-policy
is created.Remove the LDT GuardPoint.
Run the API
Example
On the CTE client, remove the existing CTE-LDT attributes on the GuardPoint.
Run the Command
Example
The LDT metadata has been removed from all files in the GuardPoint
/ldt_path
.Create a new GuardPoint for the directory using the new policy.
Run the API
Request Parameters
Example
Wait for the rekey to complete. You can check the rekey status, as described below.
Run the API
Example
When the
"rstatus"
status becomes"Rekeyed"
, the rekey (decryption) is complete.Note
If you have selected
directory_auto
, data transformation begins as soon as the client gets the new policy information from the key manager.If you have selected
directory_manual
, use thesecfsd -guard <GuardPoint>
command on the client to begin data transformation.
Remove the GuardPoint. This ensures rekey is no longer triggered for any new data added to the specified GuardPath.
Run the API
Example