# update

### **Usage**

```
vhsm nitride annotation update @values.json
```

* values.json: The JSON file containing the  updated annotation payload.

#### **Structure:@values.jsonjson**

* "key": The exact attestation value to update (plain text or base64). If it includes reserved URL characters (/, +, =), you may need to URL‑encode it when reading using cURL.
* "value": The new human‑readable label.
* "created" (optional): Unix timestamp; if omitted, the server sets it.

#### Flags

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

**Example**

Update an existing annotation

```
vhsm nitride annotation update @values.json
```

#### Output

```
Key        Value
---        -----
created    1756207744
key        8aFCxTWG5+IiPsdOX00aSUKVax/ZrHj6/N+FEXqjRdo=
value      Kernel Command Line / Enclaive Buckypaper v2.0.0 / 2025-08-25

```

**Detailed Explanation**

* key: Must match exactly what was used when creating the annotation. Base64 values are common; ensure correct encoding and consider URL‑encoding when passing keys with reserved characters using cURL.
* value: Returned from the stored annotation to make raw attestation values understandable.


---

# 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/annotation/update.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.
