---
title: "ezgh auth status"
description: "Show which profile and credential commands use."
---

> 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 auth status

{/* 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 auth status
```

Show the active profile (and whether it came from `--profile`, `EZGH_PROFILE` or the configured default), its domain, and the credential commands would send: `EZGH_API_KEY` when it's set, otherwise the profile's login or stored API key. Nothing secret is shown. This reads only what's stored here; `ezgh whoami` asks the platform. Exits 3 when there's no credential.

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

## Flags

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

Source: https://docs.ezghcloud.com/cli/reference/auth-status/index.mdx
