---
title: "oz0 operator renew"
description: "Make a new key, have the cluster sign a certificate for it, and put both in place of the ones in the CLI context."
canonical_url: "https://docs.oz0.ai/reference/cli/oz0/operator/renew"
---
# oz0 operator renew

> Make a new key, have the cluster sign a certificate for it, and put both in place of the ones in the CLI context.

For: Operators and developers looking up a command.

Make a new key, have the cluster sign a certificate for it, and put both in place of the ones in the CLI context. The certificate in use must still be valid. Once it has expired, issue new credentials on a server with `oz0 server operator issue`.

## Usage

```bash
oz0 operator renew [flags]
```

## 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.
