> ## Documentation Index
> Fetch the complete documentation index at: https://docs.fabro.sh/llms.txt
> Use this file to discover all available pages before exploring further.

# Secret management and repo commands

## Secret management from the CLI

Managing API keys and credentials previously meant manually editing `~/.fabro/.env`. This release introduced `fabro secret` commands; later releases made secrets server-owned and write-only.

```bash theme={"languages":{"custom":["/languages/dot.json","/languages/fabro.json"]}}
fabro secret set ANTHROPIC_API_KEY sk-ant-...
fabro secret list
fabro secret rm ANTHROPIC_API_KEY
```

## Repository lifecycle with `fabro repo`

Project setup commands now live under `fabro repo`. You can initialize a project with `fabro repo init` and, when you want to remove Fabro from a project, reverse it with `fabro repo deinit` — which removes `fabro.toml` and the `fabro/` directory.

```bash theme={"languages":{"custom":["/languages/dot.json","/languages/fabro.json"]}}
fabro repo init
fabro repo deinit
```

The old `fabro init` still works but prints a deprecation warning.

## More

<Accordion title="CLI">
  * Moved `fabro init` to `fabro repo init` with a backwards-compatible deprecation shim
  * Added `--show-values` flag to `fabro secret list` to reveal secret values
    Later releases removed this flag when secrets became write-only
</Accordion>
