---
title: "ezgh secrets get"
description: "Show a secret's metadata and the field names of its latest version."
---

> 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 get

{/* 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 get <name>
```

Show a secret: its ID, tags, version and grant counts, and the names of the fields in its latest version. Field names aren't confidential; values are never shown (ezgh secrets read prints them).

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

## Flags

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

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