pbs_acme_plugin_create
Creates an ACME DNS challenge plugin for automated certificate validation, with a dry-run mode by default; requires plugin ID and type, and optionally provider credentials.
Instructions
MUTATION: create an ACME DNS challenge plugin. Dry-run by default.
Additive — does not affect any existing plugin. dns_api = DNS provider name (e.g. 'cf', 'route53'). Reference plugin_id when ordering a cert via a DNS-01 challenge; to remove the plugin use pbs_acme_plugin_delete. confirm=True executes (POST /config/acme/plugins, synchronous — PBS returns null) and returns {"status": "ok", "result": None}. Needs PROXIMO_PBS_* config.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Base64-encoded plugin credential/config data (e.g. DNS provider API tokens) required by the challenge type. Redacted from the PLAN preview and the audit ledger, but IS sent to PBS on confirm=True. | |
| confirm | No | False (default) returns a dry-run PLAN only; True executes the plugin creation. | |
| disable | No | Set to disable the plugin on creation; omit to leave it enabled. | |
| dns_api | No | DNS provider API name for a DNS-01 challenge (e.g. 'cf', 'route53'); maps to PBS's 'api' field. | |
| plugin_id | Yes | Identifier for the new ACME DNS challenge plugin (1-32 chars, alnum/_/./- ; config/acme/plugins/{plugin_id}). | |
| plugin_type | Yes | ACME challenge plugin type (e.g. 'dns' or 'standalone'). PBS's own schema declares no enum here — validated defensively by charset only; see pbs_acme_challenge_schema for the live catalog of known types. | |
| proximo_target | No | Which configured Proxmox target to run this call against — a target name from your multi-target config (a specific PVE/PBS/PMG/PDM box). Omit to use the single/default target from the environment; the selection applies only to this call. | |
| validation_delay | No | Extra delay in seconds (0-172800) to wait before requesting validation — copes with long DNS TTLs. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |