---
title: "ezgh secrets grants"
description: "Grants: the products allowed to read a secret."
---

> 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 secrets grants

{/* 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 secrets grants <command>
```

A grant lets a product (MCP Central) read a secret by reference, without anyone handing it the values. Grants are created in the product's own console or API; here they're listed and revoked.

Part of [`ezgh secrets`](/cli/reference/secrets).

## Flags

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

## Subcommands

| Command | Description |
| --- | --- |
| [`ezgh secrets grants list`](/cli/reference/secrets-grants-list) | List the grants on a secret |
| [`ezgh secrets grants revoke`](/cli/reference/secrets-grants-revoke) | Revoke a grant, by ID or slug |

Source: https://docs.ezghcloud.com/cli/reference/secrets-grants/index.mdx
