> For the complete documentation index, see [llms.txt](https://docs.enclaive.cloud/nitride/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.enclaive.cloud/nitride/cli/attestation/local.md).

# local

## Usage

```
vhsm nitride attestation local report=@report.json nonce=<nonce> @policy.json [flags]
```

Performs attestation operations locally, including report verification, nonce generation, attestation generation, and verification.

#### Parameters

* `report=@report.json`: Path to the attestation report file to verify (the file must exist).
* `nonce=<nonce>`: The nonce value used in the attestation.
* `@policy.json`: Path to the policy file defining the attestation requirements (the file must exist).

#### Flags

* [Global HTTP Options](/nitride/cli.md#global-options)
* [Output Options](/nitride/cli.md#output-options)
* [Command Options](/nitride/cli.md#command-options)

#### Examples

Verify a local attestation report:

```
vhsm nitride attestation local report=@attestation-report.json nonce=abc123 @policy.json
```

**Additional Example**:

Verify with base64 encoded report:

```
vhsm nitride attestation local report=@report.base64 nonce=abc123 @policy.json -base64
```

Verify with custom output format:

```
vhsm nitride attestation local report=@report.json nonce=abc123 @policy.json -format=json
```

**Note:**

* The command performs local verification without requiring a vHSM server connection.
* The `@report.json` syntax means the file is read and its contents are used for verification.
* The `@policy.json` syntax means the file is read and its contents are used as the policy.
* Both files must exist in the current directory or provide the full path.
* Use the -base64 flag if the report is base64 encoded.
* For more information about attesting locally, see[ Verify identities and policies locally.](/nitride/tutorials/attestation-blueprint-1/verify-identities-and-policies-locally.md)
