public AzureDnsProvider(AcmebotOptions options) { _dnsManagementClient = new DnsManagementClient(new TokenCredentials(new AppAuthenticationTokenProvider())) { SubscriptionId = options.AzureDns?.SubscriptionId ?? options.SubscriptionId }; }
public TransIpProvider(AcmebotOptions acmeOptions, TransIpOptions options, AzureEnvironment environment) { var credential = new DefaultAzureCredential(new DefaultAzureCredentialOptions { AuthorityHost = environment.ActiveDirectory }); var keyUri = new Uri(new Uri(acmeOptions.VaultBaseUrl), $"/keys/{options.PrivateKeyName}"); var cryptoClient = new CryptographyClient(keyUri, credential); _transIpClient = new TransIpClient(options.CustomerName, cryptoClient); }
public GratisDnsProvider(AcmebotOptions options) { _gratisDnsClient = new GratisDnsClient(options.GratisDns.Username, options.GratisDns.Password); }
public DnsMadeEasyProvider(AcmebotOptions acmeOptions, DnsMadeEasyOptions options, AzureEnvironment environment) { _client = new DnsMadeEasyClient(options.ApiKey, options.SecretKey); }
public CloudflareProvider(AcmebotOptions options) { _cloudflareDnsClient = new CloudflareDnsClient(options.Cloudflare.ApiKey); }