/target-create-lets-encrypt

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

targetCreateLetsEncrypt is a command that creates a new Let's Encrypt target

string
Defaults to http
string

Protection from accidental deletion of this object [true/false]

string

Description of the object

string

Fixed wait after TXT publish (e.g. 30s, 2m). If omitted with pre-check on, no extra sleep (polling only). If omitted with --dns-skip-precheck, gateway uses 30s. DNS challenge only

dns-resolvers
array of strings

Custom DNS resolvers (ip:port) for DNS-01. Repeat for multiple. If omitted, Lego uses /etc/resolv.conf or Google Public DNS. DNS challenge only

dns-resolvers
boolean

Skip DNS TXT pre-check before CA validation. If --dns-propagation-wait is omitted and this flag is set, gateway waits 30s before CA validation. DNS challenge only

string

Name of existing cloud target for DNS credentials. Required when acme-challenge=dns. Supported: AWS, Azure, GCP, Cloudflare targets

string

Per-query DNS lookup timeout during pre-check (e.g. 10s), not total poll time. If omitted with pre-check on, Lego library default applies (10s per query on Linux). Ignored when --dns-skip-precheck is set. DNS challenge only

string

Cloudflare DNS zone identifier.
Required when dns-target-creds points to Cloudflare target

string
required

Email address for ACME account registration

string

GCP Cloud DNS: Project ID. Optional - can be derived from service account

string

AWS Route53 hosted zone ID.
Required when dns-target-creds points to AWS target

boolean
Defaults to false

Set output format to JSON

string

The name of a key that used to encrypt the target secret value (if empty, the account default protectionKey key will be used)

string
Defaults to production
string

Lock this secret after each successful value read

string

Lock TTL in minutes

string

Set the maximum number of versions, limited by the account settings defaults.

string
required

Target name

string

Azure resource group name. Required when dns-target-creds points to Azure target

string

Rotate this secret after it is unlocked

string
Defaults to 5m
string

Authentication token (see /auth and /configure)

string

The universal identity token, Required only for universal_identity authentication

Responses

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
Footer Section