# Edit

Select the Edit icon button next to each HSM configuration to modify the HSM password and access the key profile in edit mode, as illustrated in the figure below.

<figure><img src="/files/LK3XiiDAr4ngW9LVKeBm" alt="" width="375"><figcaption></figcaption></figure>

Input the current password into the Old password field. Enter the new password in both the new password field and the confirm password field, as demonstrated in the figure above. Subsequently, select the Confirm button and authenticate by providing the admin email ID and Token PIN, as indicated in the figure below.

<figure><img src="/files/FYE5h3fEJztcX9WygcNy" alt="" width="320"><figcaption></figcaption></figure>

Select the "Update Keyprofile" button to modify the HSM password, as depicted in the figure above. Click on the Edit button to make changes to the entered password.

**Export:**

Select the "Export to Excel" button on the Manage Key Profile page to download the key profiles to the local system.

**Test Connection:**

Choose the Test connection icon for HSM to verify the connection, leading to the display of the success popup as shown below.

<figure><img src="/files/Mi6sCZjaiB7BIbcNURMk" alt="" width="375"><figcaption></figcaption></figure>

**Deactivate:**

Choose the Deactivate icon button next to each record to trigger the appearance of a popup window, as depicted below.

<figure><img src="/files/ujU4XtRCzsCNznE9VCt1" alt="" width="375"><figcaption></figcaption></figure>

Opting for the Yes button reveals the screen displayed in the figure below, while selecting the No button closes the popup, as shown in the figure above.

<figure><img src="/files/rrRxZlHng9hgXlFg6II3" alt="" width="375"><figcaption></figcaption></figure>

Input the admin email ID and Token PIN, then select the Authenticate button to complete user authentication.&#x20;

Click on the Deactivate Keyprofile button to deactivate the Keyprofile. Upon successful deactivation, a success message will be presented, as illustrated in the figure below.

<figure><img src="/files/UKiR4Lxa07uxa15k1Ubu" alt="" width="375"><figcaption></figcaption></figure>

**Activate:**

Select the Activate icon button next to the inactive record, triggering the appearance of the popup window depicted in the figure below.

<figure><img src="/files/K7tg9HsadVp1hF4Yd2QA" alt="" width="375"><figcaption></figcaption></figure>

Choosing the Yes button reveals the screen displayed in the figure below while opting for the No button closes the popup, as shown in the figure above.

<figure><img src="/files/M4gMOsxe2dx5riZu47md" alt="" width="375"><figcaption></figcaption></figure>

Provide the admin email ID and Token PIN, then select the Authenticate button to authenticate the user.&#x20;

Click on the Activate Keyprofile button to initiate the activation of the Keyprofile. Upon successful activation, a success message will be presented, as illustrated in the figure below.

<figure><img src="/files/TdT3b9YJdHex6iNffZXw" alt="" width="375"><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://emca.emudhra.com/previous-release-versions/v4.2.1/user-manual/manage-profiles/key-profiles/edit.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
