<menu id="guoca"></menu>
<nav id="guoca"></nav><xmp id="guoca">
  • <xmp id="guoca">
  • <nav id="guoca"><code id="guoca"></code></nav>
  • <nav id="guoca"><code id="guoca"></code></nav>

    certbot.plugins.dns_common_lexicon module

    Common code for DNS Authenticator Plugins built on Lexicon.

    classcertbot.plugins.dns_common_lexicon.LexiconClient[source]
    Bases: object
    Encapsulates all communication with a DNS provider via Lexicon.
    add_txt_record(domain, record_name, record_content)[source]
    Add a TXT record using the supplied information.
    Parameters: - domain (str) – The domain to use to look up the managed zone.- record_name (str) – The record name (typically beginning with ‘_acme-challenge.’).- record_content (str) – The record content (typically the challenge validation).
    Raises: errors.PluginError – if an error occurs communicating with the DNS Provider API
    del_txt_record(domain, record_name, record_content)[source]
    Delete a TXT record using the supplied information.
    Parameters: - domain (str) – The domain to use to look up the managed zone.- record_name (str) – The record name (typically beginning with ‘_acme-challenge.’).- record_content (str) – The record content (typically the challenge validation).
    Raises: errors.PluginError – if an error occurs communicating with the DNS Provider API

    certbot.plugins.dns_common_lexicon.build_lexicon_config(lexicon_provider_name, lexicon_options, provider_options)[source]
    Convenient function to build a Lexicon 2.x/3.x config object. :param str lexicon_provider_name: the name of the lexicon provider to use :param dict lexicon_options: options specific to lexicon :param dict provider_options: options specific to provider : return: configuration to apply to the provider : rtype: ConfigurationResolver or dict

    本文章首發在 網安wangan.com 網站上。

    上一篇 下一篇
    討論數量: 0
    只看當前版本


    暫無話題~
    亚洲 欧美 自拍 唯美 另类