---
title: "ezgh keys aliases create"
description: "Point a new name at 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 aliases 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 aliases create <name> <key>
```

Create an alias: lowercase letters, digits and hyphens, unique in the project. &lt;key&gt; is the key's ID (kms\_…), in this project. Any command that takes a key then takes alias:&lt;name&gt;.

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

## Examples

```sh
ezgh keys aliases create orders kms_…
ezgh keys encrypt alias:orders --file token.txt
```

## Flags

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

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