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

# nexus conf

**Audience:** Nexus CLI users and integrators.

**Command:** nexus conf.

**Generated from:** Nexus CLI `v2.2.0` Linux x86\_64 release executable; its archive SHA-256 matched HTTPS release metadata and the extracted binary reported `nexus-cli 2.2.0` (generated help inventory preserved below).

Manage Nexus Configuration.

```
Usage: nexus conf [OPTIONS] <COMMAND>
```

Global options available on every subcommand:

| Flag               | Description                      |
| ------------------ | -------------------------------- |
| `--json`           | Change the output format to JSON |
| `-v, --verbose...` | More output per occurrence       |
| `-q, --quiet...`   | Less output per occurrence       |
| `-h, --help`       | Print help                       |

#### nexus conf get

Print the active Nexus CLI configuration.

```
Usage: nexus conf get [OPTIONS]
```

**nexus conf set**

Update the Nexus CLI configuration.

```
Usage: nexus conf set [OPTIONS]
```

| Flag                                                     | Description                                                              |
| -------------------------------------------------------- | ------------------------------------------------------------------------ |
| `--sui.sk <SECRET_KEY>`                                  | Set the preferred Sui secret key (keytool export or Base64)              |
| `--sui.pk <BASE64>`                                      | Set the Sui private key via compatibility alias                          |
| `--sui.kms-key-version <RESOURCE>`                       | Select a pinned Google Cloud KMS key version                             |
| `--sui.rpc-url <URL>`                                    | Set a Sui node RPC URL                                                   |
| `--nexus.objects <PATH>`                                 | Path to a TOML file containing Nexus objects                             |
| `--data-storage.walrus-aggregator-url <URL>`             | Set the Walrus aggregator URL for data storage                           |
| `--data-storage.walrus-save-for-epochs <EPOCHS>`         | Set how many epochs to save data for in Walrus                           |
| `--data-storage.preferred-remote-storage <STORAGE_KIND>` | Set the preferred remote storage backend                                 |
| `--data-storage.testnet`                                 | Preset configuration for testnet (overrides other data storage settings) |

`--sui.sk` is the preferred local-key option; `--sui.pk` remains a compatibility alias. `SUI_SK` takes precedence over `SUI_PK`; setting both triggers a warning, and accepted local-key formats include Sui `suiprivkey` Ed25519 exports and legacy Base64. Saved configuration reads the old `pk` field and writes the preferred `sk` field, while `nexus conf get` redacts private values. KMS uses `SUI_KMS_KEY_VERSION` or `--sui.kms-key-version` with a pinned `projects/.../cryptoKeyVersions/N` resource and Application Default Credentials. A local key and KMS signer cannot be combined. Only a missing `conf.toml` starts from defaults; an unreadable or malformed existing file makes `conf set` fail without overwriting it.

For wallet-funded uploads, use [`nexus walrus configure`](https://docs.talus.network/reference/cli/walrus.md). The network follows the Sui RPC, and a custom aggregator must be associated with `testnet` or `mainnet`. Legacy publisher settings are ignored and removed when configuration is saved; the CLI no longer accepts a publisher-URL flag. `--data-storage.testnet` sets storage defaults only and does not change the Sui RPC or Nexus object bindings.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.talus.network/reference/cli/conf.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
