---
title: "ezgh queues subscriptions rotate-secret"
description: "Make a new signing secret for a subscription."
---

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

# ezgh queues subscriptions rotate-secret

{/* Generated by ezgh-cli's internal/tools/clidocs from the ezgh command tree. Don't edit: change the command's help in ezgh-cli and regenerate. */}

```sh
ezgh queues subscriptions rotate-secret <subscription>
```

Make a new signing secret: while the rotation lasts, deliveries are signed with both the old and the new one, so the endpoint can switch without failing a delivery. The new secret is printed once, alone on stdout.

Part of [`ezgh queues subscriptions`](/cli/reference/queues-subscriptions).

## Flags

This command also takes the [global flags](/cli/reference#global-flags).

Source: https://docs.ezghcloud.com/cli/reference/queues-subscriptions-rotate-secret/index.mdx
