Copy Page/target-create-lets-encryptpost https://api.akeyless.io/target-create-lets-encryptRecent RequestsLog in to see full request historyTimeStatusUser Agent Retrieving recent requests…LoadingLoading…Body ParamstargetCreateLetsEncrypt is a command that creates a new Let's Encrypt targetacme-challengestringDefaults to httpdelete_protectionstringProtection from accidental deletion of this object [true/false]descriptionstringDescription of the objectdns-propagation-waitstringFixed 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 onlydns-resolversarray of stringsCustom DNS resolvers (ip:port) for DNS-01. Repeat for multiple. If omitted, Lego uses /etc/resolv.conf or Google Public DNS. DNS challenge onlydns-resolversADD stringdns-skip-precheckbooleanSkip 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 onlytruefalsedns-target-credsstringName of existing cloud target for DNS credentials. Required when acme-challenge=dns. Supported: AWS, Azure, GCP, Cloudflare targetsdns-timeoutstringPer-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 onlydns-zonestringCloudflare DNS zone identifier. Required when dns-target-creds points to Cloudflare targetemailstringrequiredEmail address for ACME account registrationgcp-projectstringGCP Cloud DNS: Project ID. Optional - can be derived from service accounthosted-zonestringAWS Route53 hosted zone ID. Required when dns-target-creds points to AWS targetjsonbooleanDefaults to falseSet output format to JSONtruefalsekeystringThe name of a key that used to encrypt the target secret value (if empty, the account default protectionKey key will be used)lets-encrypt-urlstringDefaults to productionlock-on-readstringLock this secret after each successful value readlock-ttlstringLock TTL in minutesmax-versionsstringSet the maximum number of versions, limited by the account settings defaults.namestringrequiredTarget nameresource-groupstringAzure resource group name. Required when dns-target-creds points to Azure targetrotate-on-unlockstringRotate this secret after it is unlockedtimeoutstringDefaults to 5mtokenstringAuthentication token (see /auth and /configure)uid-tokenstringThe universal identity token, Required only for universal_identity authenticationResponses 201targetCreateLetsEncryptResponse wraps response body. defaulterrorResponse wraps any error to return it as a JSON object with one "error" field.Updated 12 days ago /target-create-ldap/target-create-linkedDid this page help you?YesNo