---
title: Resetting files and variable for HSM
description: Update your environmental variable in the <pf_install>server/default/data/ncipher-kmdata-local directory to point to the new location.
component: pingfederate
version: 13.1
page_id: pingfederate:upgrading_pingfederate:pf_reset_file_variable_hsm
canonical_url: https://docs.pingidentity.com/pingfederate/13.1/upgrading_pingfederate/pf_reset_file_variable_hsm.html
llms_txt: https://docs.pingidentity.com/pingfederate/llms.txt
docs_for_agents: https://developer.pingidentity.com/build-with-ai/docs-for-agents.md
revdate: July 5, 2022
section_ids:
  related-links: Related links
---

# Resetting files and variable for HSM

Update your environmental variable in the `<pf_install>server/default/data/ncipher-kmdata-local` directory to point to the new location.

If your PingFederate installation is configured in a clustered environment with Entrust nShield Connect, you must copy the `<pf_install>server/default/data/ncipher-kmdata-local` directory to the new installation manually and update the environmental variable `NFAST_KMLOCAL` to point to the new location.

## Related links

* [Integrating with Entrust nShield Connect HSM](../getting_started_with_pingfederate/pf_integra_entrus_nshield_connec_hsm.html)
