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

RotateChallengesRequest

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

The request message for the RotateChallenges RPC. Requires an access token, a root domain, and either records_to_add or records_to_remove to be populated. Records may be set for multiple subdomains at once to support SAN requests for multiple subdomains in a single domain. By default, ACME TXT record challenges that are older than 30 days will be removed. Set keep_expired_records to false if this behavior is undesired. There is a record maximum of 100 records per domain including expired records. Any request sent that would exceed this maximum will result in a FAILED_PRECONDITION error. NEXT ID: 6

interface RotateChallengesRequest {
accessToken?: Uint8Array;
keepExpiredRecords?: boolean;
recordsToAdd?: AcmeTxtRecord[];
recordsToRemove?: AcmeTxtRecord[];
}

§Properties

§
accessToken?: Uint8Array
[src]

Required. ACME DNS access token. This is a base64 token secret that is procured from the Google Domains website. It authorizes ACME TXT record updates for a domain.

§
keepExpiredRecords?: boolean
[src]

Keep records older than 30 days that were used for previous requests.

§
recordsToAdd?: AcmeTxtRecord[]
[src]

ACME TXT record challenges to add. Supports multiple challenges on the same FQDN.

§
recordsToRemove?: AcmeTxtRecord[]
[src]

ACME TXT record challenges to remove.