# read

Reads the policy previously created.

### Usage

```
vhsm nitride policy read <name> [flags]
```

* `<name>`: the policy name

#### Flags

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

***

#### Example

```
vhsm nitride policy read test
```

**Output is similar to**:

```
Key           Value
---           -----
created       1751893334
identities    map[firmware:[map[name:local-test policy:<nil>]] metadata:<nil> platform:[map[name:amd-sev-snp-milan-vcek policy:<nil>]] provider:local-none-debug workload:map[name:vtpm-ubuntu policy:map[hash:false pcrs.1:false]]]
name          test
```

#### Additional Example

Read a specific policy with a custom namespace.

```
vhsm nitride policy read test -namespace=prod
```

**Output is similar to**:

```
Key           Value
---           -----
created       1751893334
identities    map[firmware:[map[name:local-test policy:<nil>]] metadata:<nil> platform:[map[name:amd-sev-snp-milan-vcek policy:<nil>]] provider:local-none-debug workload:map[name:vtpm-ubuntu policy:map[hash:false pcrs.1:false]]]
name          test
```

<br>


---

# 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/cli/policy/read.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.
