---
title: Command-line operations · Cloudflare Web Application Firewall (WAF) docs
description: The Cloudflare matched-data-cli command-line tool supports several
  tasks related to payload logging.
lastUpdated: 2024-09-06T15:21:19.000Z
chatbotDeprioritize: false
source_url:
  html: https://developers.cloudflare.com/waf/managed-rules/payload-logging/command-line/
  md: https://developers.cloudflare.com/waf/managed-rules/payload-logging/command-line/index.md
---

The Cloudflare [`matched-data-cli`](https://github.com/cloudflare/matched-data-cli) command-line tool supports several tasks related to payload logging.

[Download](https://github.com/cloudflare/matched-data-cli/releases) the `matched-data-cli` tool for your platform from the **Releases** page on GitHub. Alternatively, build the tool from source by following the instructions in the GitHub repository.

Use the tool to:

* [Generate a key pair](https://developers.cloudflare.com/waf/managed-rules/payload-logging/command-line/generate-key-pair/)
* [Decrypt the payload content](https://developers.cloudflare.com/waf/managed-rules/payload-logging/command-line/decrypt-payload/)
