# set

## Description

Sets configuration stored in Cauldron.

## Syntax

`ern cauldron config set`

**Options**

`--key`

* The configuration key for which to set configuration value
* **Default**  Will set the whole configuration object

`--descriptor`

* The target descriptor which to set configuration for &#x20;

  **Default**  Set the top level / global configuration, not associated to a specific descriptor

`--value`

* Value to set

  **There is not default, this is required**
* The value can either be a number, boolean, string or an object
* An object can be provided as a JSON string or as a file path to a JSON file, or finally as a reference to a JSON file stored in Cauldron (using the `cauldron://` file scheme)

## Related commands

[ern cauldron config get](/v0.29/cli-commands/cauldron-config/get.md) | Echoes configuration stored in Cauldron.\
\[ern cauldron config del] | Deletes configuration stored in Cauldron.

\[ern cauldron config del]: ./del.md


---

# 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://native.electrode.io/v0.29/cli-commands/cauldron-config/set.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.
