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

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

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

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

certbot-dns-sakuracloud

Sakura Cloud DNS Authenticator plugin for Certbot

Apache-2.0
Latest version published 1 month ago

Package Health Score

87 / 100
Full package analysis

Similar packages