How to use certbot-dns-dnsimple - 3 common examples

To help you get started, we’ve selected a few certbot-dns-dnsimple examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github certbot / certbot / certbot-dns-dnsimple / certbot_dns_dnsimple / _internal / dns_dnsimple.py View on Github external
def _get_dnsimple_client(self):
        return _DNSimpleLexiconClient(self.credentials.conf('token'), self.ttl)
github certbot / certbot / certbot-dns-dnsimple / certbot_dns_dnsimple / _internal / dns_dnsimple.py View on Github external
def __init__(self, token, ttl):
        super(_DNSimpleLexiconClient, self).__init__()

        config = dns_common_lexicon.build_lexicon_config('dnssimple', {
            'ttl': ttl,
        }, {
            'auth_token': token,
        })

        self.provider = dnsimple.Provider(config)
github certbot / certbot / certbot-dns-dnsimple / certbot_dns_dnsimple / _internal / dns_dnsimple.py View on Github external
def add_parser_arguments(cls, add):  # pylint: disable=arguments-differ
        super(Authenticator, cls).add_parser_arguments(add, default_propagation_seconds=30)
        add('credentials', help='DNSimple credentials INI file.')

certbot-dns-dnsimple

DNSimple DNS Authenticator plugin for Certbot

Apache-2.0
Latest version published 19 days ago

Package Health Score

90 / 100
Full package analysis

Similar packages