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

To help you get started, we’ve selected a few certbot-dns-cloudxns 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-cloudxns / certbot_dns_cloudxns / _internal / dns_cloudxns.py View on Github external
def __init__(self, api_key, secret_key, ttl):
        super(_CloudXNSLexiconClient, self).__init__()

        config = dns_common_lexicon.build_lexicon_config('cloudxns', {
            'ttl': ttl,
        }, {
            'auth_username': api_key,
            'auth_token': secret_key,
        })

        self.provider = cloudxns.Provider(config)
github certbot / certbot / certbot-dns-cloudxns / certbot_dns_cloudxns / _internal / dns_cloudxns.py View on Github external
def _get_cloudxns_client(self):
        return _CloudXNSLexiconClient(self.credentials.conf('api-key'),
                                      self.credentials.conf('secret-key'),
                                      self.ttl)
github certbot / certbot / certbot-dns-cloudxns / certbot_dns_cloudxns / _internal / dns_cloudxns.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='CloudXNS credentials INI file.')

certbot-dns-cloudxns

CloudXNS DNS Authenticator plugin for Certbot

Apache-2.0
Latest version published 2 years ago

Package Health Score

66 / 100
Full package analysis

Similar packages