@accelerated-software-development/caddy-api-client - v0.10.0
    Preparing search index...

    Function buildRoute53DnsConfig

    • Build the caddy-dns/route53 config.

      Called with no options (the default), caddy-dns/route53 reads credentials via the AWS Go SDK v2's own default credential chain (env vars, shared profile, or IAM role) — providerConfig is omitted rather than reimplementing that resolution, exactly as before 0.9.0.

      The plugin also supports an explicit typed providerConfig (real, verified Go source — see Route53DnsProviderConfig) for callers who want it instead of relying on ambient credentials: pass any subset of fields via options and they're returned as providerConfig.

      Parameters

      • Optionaloptions: Route53DnsProviderConfig

      Returns AcmeDnsProviderConfigResult

      buildRoute53DnsConfig()
      // => { envVars: ["AWS_ACCESS_KEY_ID", "AWS_SECRET_ACCESS_KEY", "AWS_REGION"] }
      buildRoute53DnsConfig({ hosted_zone_id: "Z1D633PJN98FT9", region: "us-east-1" })
      // => { providerConfig: { hosted_zone_id: "Z1D633PJN98FT9", region: "us-east-1" }, envVars: [...] }