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

To help you get started, we’ve selected a few certbot-dns-luadns 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-luadns / certbot_dns_luadns / _internal / dns_luadns.py View on Github external
def _get_luadns_client(self):
        return _LuaDNSLexiconClient(self.credentials.conf('email'),
                                    self.credentials.conf('token'),
                                    self.ttl)
github certbot / certbot / certbot-dns-luadns / certbot_dns_luadns / _internal / dns_luadns.py View on Github external
def __init__(self, email, token, ttl):
        super(_LuaDNSLexiconClient, self).__init__()

        config = dns_common_lexicon.build_lexicon_config('luadns', {
            'ttl': ttl,
        }, {
            'auth_username': email,
            'auth_token': token,
        })

        self.provider = luadns.Provider(config)
github certbot / certbot / certbot-dns-luadns / certbot_dns_luadns / _internal / dns_luadns.py View on Github external
def __init__(self, *args, **kwargs):
        super(Authenticator, self).__init__(*args, **kwargs)
        self.credentials = None

certbot-dns-luadns

LuaDNS Authenticator plugin for Certbot

Apache-2.0
Latest version published 16 days ago

Package Health Score

90 / 100
Full package analysis

Similar packages