txacme.challenges package¶
Module contents¶
-
class
txacme.challenges.
LibcloudDNSResponder
(reactor, thread_pool, driver, zone_name, settle_delay)[source]¶ A
dns-01
challenge responder using libcloud.Warning
Some libcloud backends are broken with regard to TXT records at the time of writing; the Route 53 backend, for example. This makes them unusable with this responder.
Note
This implementation relies on invoking libcloud in a thread, so may not be entirely production quality.
-
classmethod
create
(reactor, driver_name, username, password, zone_name=None, settle_delay=60.0)[source]¶ Create a responder.
Parameters: - reactor – The Twisted reactor to use for threading support.
- driver_name (str) – The name of the libcloud DNS driver to use.
- username (str) – The username to authenticate with (the meaning of this is driver-specific).
- password (str) – The username to authenticate with (the meaning of this is driver-specific).
- zone_name (str) – The zone name to respond in, or
None
to automatically detect zones. Usually auto-detection should be fine, unless restricting responses to a single specific zone is desired. - settle_delay (float) – The time, in seconds, to allow for the DNS provider to propagate record changes.
-
classmethod