.. _vyos.rest.vyos_generate_module: *********************** vyos.rest.vyos_generate *********************** **Execute generate commands on a VyOS device via REST API.** Version added: 1.0.0 .. contents:: :local: :depth: 1 Synopsis -------- - Sends a ``generate`` operational command to a VyOS device via the HTTPS REST API (``/generate`` endpoint). - Commonly used to generate WireGuard keypairs, TLS certificates, etc. Requirements ------------ The below requirements are needed on the host that executes this module. - VyOS 1.3+ Parameters ---------- .. raw:: html
| Key | Returned | Description |
|---|---|---|
|
output
string
|
success |
Text output produced by the generate command (may be empty).
|