Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

ACMEDNS

import { ACMEDNS } from "https://googleapis.deno.dev/v1/acmedns:v1.ts";

Google Domains ACME DNS API that allows users to complete ACME DNS-01 challenges for a domain.

class ACMEDNS {
constructor(client?: CredentialsClient, baseUrl?: string);
async acmeChallengeSetsGet(rootDomain: string): Promise<AcmeChallengeSet>;
async acmeChallengeSetsRotateChallenges(rootDomain: string, req: RotateChallengesRequest): Promise<AcmeChallengeSet>;
}

§Constructors

§
new ACMEDNS(client?: CredentialsClient, baseUrl?: string)
[src]

§Methods

§
acmeChallengeSetsGet(rootDomain: string): Promise<AcmeChallengeSet>
[src]

Gets the ACME challenge set for a given domain name. Domain names must be provided in Punycode.

@param rootDomain

Required. SLD + TLD domain name to list challenges. For example, this would be "google.com" for any FQDN under "google.com". That includes challenges for "subdomain.google.com". This MAY be Unicode or Punycode.

§
acmeChallengeSetsRotateChallenges(rootDomain: string, req: RotateChallengesRequest): Promise<AcmeChallengeSet>
[src]

Rotate the ACME challenges for a given domain name. By default, removes any challenges that are older than 30 days. Domain names must be provided in Punycode.

@param rootDomain

Required. SLD + TLD domain name to update records for. For example, this would be "google.com" for any FQDN under "google.com". That includes challenges for "subdomain.google.com". This MAY be Unicode or Punycode.