---
title: "oz0 secret"
description: "Manage tenant secrets, such as LLM API keys"
canonical_url: "https://docs.oz0.ai/reference/cli/oz0/secret"
---
# oz0 secret

> Manage tenant secrets, such as LLM API keys

For: Operators and developers looking up a command.

Manage tenant secrets, such as LLM API keys

## Usage

```bash
oz0 secret [command]
```

## Subcommands

- [`delete`](https://docs.oz0.ai/reference/cli/oz0/secret/delete)
- [`dependents`](https://docs.oz0.ai/reference/cli/oz0/secret/dependents)
- [`expiry`](https://docs.oz0.ai/reference/cli/oz0/secret/expiry)
- [`export-to-sealed`](https://docs.oz0.ai/reference/cli/oz0/secret/export-to-sealed)
- [`list`](https://docs.oz0.ai/reference/cli/oz0/secret/list)
- [`reminders`](https://docs.oz0.ai/reference/cli/oz0/secret/reminders)
- [`rollback`](https://docs.oz0.ai/reference/cli/oz0/secret/rollback)
- [`set`](https://docs.oz0.ai/reference/cli/oz0/secret/set)
- [`stores`](https://docs.oz0.ai/reference/cli/oz0/secret/stores)
- [`usage`](https://docs.oz0.ai/reference/cli/oz0/secret/usage)

## Flags

<table>
<thead>
  <tr>
    <th>
      Flag
    </th>
    
    <th>
      Type
    </th>
    
    <th>
      Default
    </th>
    
    <th>
      Description
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <code>
        --tenant
      </code>
    </td>
    
    <td>
      string
    </td>
    
    <td>
      <code>
        default
      </code>
    </td>
    
    <td>
      tenant
    </td>
  </tr>
</tbody>
</table>

## Inherited flags

<table>
<thead>
  <tr>
    <th>
      Flag
    </th>
    
    <th>
      Type
    </th>
    
    <th>
      Default
    </th>
    
    <th>
      Description
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <code>
        --context
      </code>
    </td>
    
    <td>
      string
    </td>
    
    <td>
      <code>
        $OZ0_CONTEXT or &lt;config dir>/orchestrator-zero/context.json
      </code>
    </td>
    
    <td>
      CLI context file written by server init
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        --log-level
      </code>
    </td>
    
    <td>
      string
    </td>
    
    <td>
      <code>
        info
      </code>
    </td>
    
    <td>
      log level: debug, info, warn or error
    </td>
  </tr>
</tbody>
</table>

See [all `oz0` commands](https://docs.oz0.ai/reference/cli/oz0) and the [global flags](https://docs.oz0.ai/reference/cli/oz0#global-flags).


## Sitemap

See the full [sitemap](https://docs.oz0.ai/sitemap.md) for all pages.
