# Generate a Nonce

{% hint style="info" %}
**Note**: A nonce is a random, one-time-use value generated by the verifier and sent to the attester.

* It ensures the attestation report is fresh and not a replay of an old, potentially compromised report.
* It binds the attestation to a specific request, preventing replay attacks.
  {% endhint %}

## Create the Nonce&#x20;

Generate a nonce for the session. For more information see, the [attestation nonce CLI](https://docs.enclaive.cloud/nitride/cli/attestation/nonce).

**Example**

```
vhsm nitride attestation nonce f43042c2-3ac6-43fd-be0a-efbfd2c5b419
```

**Output**

```
/Key            Value
---            -----
created        1752752829
description    A small Azure VM running MariaDB
events         https://vhsm.enclaive.cloud:8000
name           Azure MariaDB
namespace      n/a
nonce          E5a8XdpQhg7f9ET0VMXIJT6HftUrvMWCob2Ki4B5EyEKn_MrekFjYRO_NzKc_ppUcSIXGSptY0bVrrI1tAQt_g==
policy         azure-dc2asv5-raw
updated        1752752873
uuid           f43042c2-3ac6-43fd-be0a-efbfd2c5b419
```


---

# 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://docs.enclaive.cloud/nitride/documentation/getting-started/remote-attestation/generate-a-nonce.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.
