How to use the certbot-dns-gehirn.certbot_dns_gehirn._internal.dns_gehirn._GehirnLexiconClient function in certbot-dns-gehirn

To help you get started, we’ve selected a few certbot-dns-gehirn 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-gehirn / certbot_dns_gehirn / _internal / dns_gehirn.py View on Github external
def _get_gehirn_client(self):
        return _GehirnLexiconClient(
            self.credentials.conf('api-token'),
            self.credentials.conf('api-secret'),
            self.ttl
        )
github certbot / certbot / certbot-dns-gehirn / certbot_dns_gehirn / _internal / dns_gehirn.py View on Github external
def __init__(self, api_token, api_secret, ttl):
        super(_GehirnLexiconClient, self).__init__()

        config = dns_common_lexicon.build_lexicon_config('gehirn', {
            'ttl': ttl,
        }, {
            'auth_token': api_token,
            'auth_secret': api_secret,
        })

        self.provider = gehirn.Provider(config)

certbot-dns-gehirn

Gehirn Infrastructure Service DNS Authenticator plugin for Certbot

Apache-2.0
Latest version published 3 days ago

Package Health Score

90 / 100
Full package analysis

Similar packages