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

To help you get started, we’ve selected a few certbot-dns-nsone 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-nsone / certbot_dns_nsone / _internal / dns_nsone.py View on Github external
def _get_nsone_client(self):
        return _NS1LexiconClient(self.credentials.conf('api-key'), self.ttl)
github certbot / certbot / certbot-dns-nsone / certbot_dns_nsone / _internal / dns_nsone.py View on Github external
def __init__(self, api_key, ttl):
        super(_NS1LexiconClient, self).__init__()

        config = dns_common_lexicon.build_lexicon_config('nsone', {
            'ttl': ttl,
        }, {
            'auth_token': api_key,
        })

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

certbot-dns-nsone

NS1 DNS Authenticator plugin for Certbot

Apache-2.0
Latest version published 3 days ago

Package Health Score

90 / 100
Full package analysis

Similar packages