How to use the certbot-dns-nsone.certbot_dns_nsone._internal.dns_nsone._NS1LexiconClient function in certbot-dns-nsone

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)

certbot-dns-nsone

NS1 DNS Authenticator plugin for Certbot

Apache-2.0
Latest version published 1 month ago

Package Health Score

87 / 100
Full package analysis

Similar packages