# Temporal CLI cloud whoami command reference

> Who Am I

{/* NOTE: This is an auto-generated file. Any edit to this file will be overwritten.
This file is generated from https://github.com/temporalio/cli via cmd/gen-docs */}

> **Pre-release**

This page provides a reference for the `temporal cloud whoami` command.

Display information about the currently authenticated identity.

Shows whether you are authenticated as a user or service account, along
with the associated API key if one is in use.

Example:

```
temporal cloud whoami
```

| Flag | Required | Description |
|------|----------|-------------|
| `--api-key` | No | **string** API key for authenticating with Temporal Cloud. Can be used instead of interactive login for automation and CI/CD pipelines. |
| `--server` | No | **string** Override the Temporal Cloud API server address. Used for connecting to non-production environments. |
