diff --git a/deployhooks.md b/deployhooks.md index bf2d6ab..073919f 100644 --- a/deployhooks.md +++ b/deployhooks.md @@ -787,4 +787,24 @@ export DEPLOY_OMV_SSH_USER="root" ```sh acme.sh --deploy -d omv.example.com --deploy-hook openmediavault +``` + +## 27. Deploy the cert on a Proxmox VE node. + +This deploy script is tested on Proxmox Virtual Environment 7.2-4. It deploys a certificate through the Proxmox VE API, it requires an API key with access to the [sys.modify](https://pve.proxmox.com/pve-docs/api-viewer/index.html#/nodes/{node}/certificates/custom) permission. + +``` +export DEPLOY_PROXMOXVE_API_TOKEN_KEY= +``` + +**DEPLOY_PROXMOXVE_SERVER**: The hostname of the proxmox ve node. Defaults to the domain of the certificate. +**DEPLOY_PROXMOXVE_SERVER_PORT**: The port number the management interface is on. Defaults to 8006. +**DEPLOY_PROXMOXVE_NODE_NAME**: The name of the node we will be connecting to. Defaults to the host portion of the server domain name. +**DEPLOY_PROXMOXVE_USER**: The user who owns the API key. Defaults to root. +**DEPLOY_PROXMOXVE_USER_REALM**: The authentication realm the user authenticates with. Defaults to pam. +**DEPLOY_PROXMOXVE_API_TOKEN_NAME**: The name of the API token created for the user account. Defaults to acme. +**DEPLOY_PROXMOXVE_API_TOKEN_KEY**: The API token. Required. + +```sh +acme.sh --deploy -d vm1.home.wesitcllc.com --deploy-hook proxmoxve ``` \ No newline at end of file