npx wrangler kv key get greeting --namespace-id 2f1b3c4d5e6f7a8b9c0d1e2f3a4b5c6d

Category: Cloudflare

npx wrangler kv key get greeting --namespace-id 2f1b3c4d5e6f7a8b9c0d1e2f3a4b5c6d

Read a value from KV by key

Fetches and prints the value stored under greeting. A missing key reports an error rather than an empty value. Output is base64-encoded by default for binary safety; add --text to print raw text directly. See `wrangler kv key list` to discover available keys.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.