docs: update cli-help.txt and using.rst for CERTBOT_AUTH_OUTPUT truncation

Per xkr47 review feedback, update the CLI help text and user guide
to note the 10 KB truncation of CERTBOT_AUTH_OUTPUT, matching the
long_description update in manual.py.
This commit is contained in:
karlhillx 2026-07-04 05:55:55 -04:00
parent cb70ddf02c
commit a2ee032b8e
2 changed files with 3 additions and 2 deletions

View file

@ -716,7 +716,8 @@ manual:
resource requested when performing an HTTP-01 challenge. An additional
cleanup script can also be provided and can use the additional variable
$CERTBOT_AUTH_OUTPUT which contains the stdout output from the auth
script. For both authenticator and cleanup script, on HTTP-01 and DNS-01
script (truncated to 10 KB to avoid ARG_MAX limits in the cleanup hook).
For both authenticator and cleanup script, on HTTP-01 and DNS-01
challenges, $CERTBOT_REMAINING_CHALLENGES will be equal to the number of
challenges that remain after the current one, and $CERTBOT_ALL_IDENTIFIERS
contains a comma-separated list of all identifiers that are challenged for

View file

@ -1094,7 +1094,7 @@ variables to these scripts:
Additionally for cleanup:
- ``CERTBOT_AUTH_OUTPUT``: Whatever the auth script wrote to stdout
- ``CERTBOT_AUTH_OUTPUT``: Whatever the auth script wrote to stdout (truncated to 10 KB to avoid ARG_MAX limits)
Certbot also sets ``CERTBOT_DOMAIN`` and ``CERTBOT_ALL_DOMAINS`` to the same values as
``CERTBOT_IDENTIFIER`` and ``CERTBOT_ALL_IDENTIFIERS`` respectively for backwards compatibility,