> Agent-readable docs index: /llms.txt. Download /docs.zip to grep all markdown files locally.

---
$schema: https://holocron.so/frontmatter.json
title: "secrets set"
description: "Set a secret value (omit value to read from stdin)"
icon: lucide:pencil
---

Set a secret value (omit value to read from stdin)

## Usage

```sh
sigillo secrets set <name> [value]
```

## Options

| Option                | Description                        |
| --------------------- | ---------------------------------- |
| `-p, --project [id]`  | Project ID override                |
| `--env [slug]`        | Env slug override (e.g. dev, prod) |
| `-c, --config [slug]` | Env slug override                  |

## Global Options

| Option            | Description                                                            |
| ----------------- | ---------------------------------------------------------------------- |
| `-h, --help`      | Display this message                                                   |
| `-v, --version`   | Display version number                                                 |
| `--token [token]` | Auth token override                                                    |
| `--api-url [url]` | API URL override (default: [https://sigillo.dev](https://sigillo.dev)) |


---

*Powered by [holocron.so](https://holocron.so)*
