---
title: "ezgh keys generate-data-key-without-plaintext"
description: "Make a data key, shown only sealed."
---

> 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 generate-data-key-without-plaintext

{/* 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 generate-data-key-without-plaintext <key> [--context key=value]... [flags]
```

Make a 32-byte data key and print only its ciphertext, for a process that stores data keys and leaves opening them to another.

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

## Flags

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `--context` | string, repeatable |  | encryption context; opening it needs the same one, key=value; repeat for more |
| `--context-file` | string |  | encryption context; opening it needs the same one, from a file holding a JSON object of strings |

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

Source: https://docs.ezghcloud.com/cli/reference/keys-generate-data-key-without-plaintext/index.mdx
