---
title: "ezgh keys create"
description: "Create a key."
---

> 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 keys create

{/* 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 keys create <name> [--description d] [--tag key=value]... [flags]
```

Create a key. Names needn't be unique: a key is named by its ID (kms\_…), or by an alias. It starts enabled, governed by IAM alone, and rotates every year.

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

## Examples

```sh
ezgh keys create orders --description "Order records"
```

## Flags

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `--description` | string |  | what the key is for |
| `--tag` | string, repeatable |  | a tag, key=value; repeat for more |

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

Source: https://docs.ezghcloud.com/cli/reference/keys-create/index.mdx
