# TEST: SECURITY-DM-07

## References

* [Device Management](broken://pages/-LyJMhbVM6ouxYs1bDRc)

## Discussion

This is a basic test to demonstrate that the UI components appear and operate correctly when resetting a device's secret.

## **Pre-Conditions / Setup**

1. User must be logged into an account with policies granted for resetting devices secrets.
2. Navigate to **Administration Panel / Security / Devices / Devices**.

## Actions/Steps

1- Click the **Edit** button.

![](/files/-MdKrX_36wLs3ooGMQI_)

2- Under the Security Properties tab, click the Device Secret **Reset** button.

![](/files/-MdKtX9e950wbLI7ibwT)

3- Click  **Ok** to confirm the secret reset.

![](/files/-MdKuxKBVGlSQSgx2V7J)

## Expected Behaviour

1- Should navigate to the Devices/Edit Device page

![](/files/-MdKo-O-b8MxaqgPgQdt)

2- Should display a message asking to confirm the secret reset.

![](/files/-MdKuUKF5Xb98FWjgw7v)

3- Should display the new Device Secret.

![](/files/-MdKw-g9vAbHxHTA21MT)


---

# 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://help.santesuite.org/installation/installation-1/deployment/installing-software/santedb-server/installation-qualification/security-administration-testing/test-cases-for-ui-1/device-management-tests/test-security-dm-07.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.
