How do I delete a file securely, such as the master key?
83
Created On 11/10/26 11:01 AM - Last Modified 11/10/26 13:03 PM
Question
How do I delete a file securely, such as the master key?
Environment
10.10;11.5;11.6;11.7;12.0;12.2;12.6;13.0 Privileged Access Manager (PAM, self-hosted) Vault Server;Vault
Answer
For example, the private recovery key (Master key) was copied to the file system of the Vault during the rekeying process while integrating with an HSM, and now needs to be deleted.
Delete the file securely using a utility like sDelete from SysInternals. The utility can be configured for multiple passes and for small files it is quite quick so 100 passes is recommended. Please see the SysInternals article https://technet.microsoft.com/en-us/sysinternals/sdelete.aspx for usage instructions.
Additional Information
Details
Q:How do I delete a file securely, such as the master key?
A:
For example, the private recovery key (Master key) was copied to the file system of the Vault during the rekeying process while integrating with an HSM, and now needs to be deleted.
Delete the file securely using a utility like sDelete from SysInternals. The utility can be configured for multiple passes and for small files it is quite quick so 100 passes is recommended. Please see the SysInternals article https://technet.microsoft.com/en-us/sysinternals/sdelete.aspx for usage instructions.