# 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
```
