Configuration for pulumi-namecheap.
npm package pulumi-namecheap version 2.4.6.
Pulumi bridge terraform-provider version 1.4.0.
Upstream provider registry.opentofu.org/namecheap/namecheap version 2.9.4.
An explicit provider is new namecheap.Provider(name, args). Stack configuration is a pulumi.Config object named namecheap.
A value marked secret is passed through pulumi.secret or listed in additionalSecretOutputs on the provider resource.
Fields#
| Property | Type | Source | Secret | Description |
|---|---|---|---|---|
apiKey | string | provider args; stack config via config.get | yes | The namecheap API key |
apiUser | string | provider args; stack config via config.get | yes | A registered api user for namecheap |
clientIp | string | provider args; stack config via config.get | no | The public IP address the Namecheap API sees as the caller; it must be whitelisted at https://ap.www.namecheap.com/settings/tools/apiaccess/whitelisted-ips. Leaving it unset now auto-detects this machine’s public IP address via an outbound HTTPS request to api.ipify.org (previously it defaulted to the non-functional 0.0.0.0); if that request fails (for example on a host with no outbound network access), provider configuration fails with guidance to set clientIp explicitly. |
maxRetries | number | provider args; stack config via config.getObject | no | Total number of attempts (including the first) for a single API call before giving up. Must be >= 0. Defaults to 4, matching the SDK’s built-in retry policy. Note: because the underlying SDK treats a zero value as “unset”, setting this to 0 falls back to the SDK default of 4 attempts rather than disabling retries. |
requestTimeout | string | provider args; stack config via config.get | no | Timeout applied to the underlying HTTP client for a single request to the Namecheap API, as a Go duration string (e.g. ”30s”, “1m”). Must parse and be greater than zero. Defaults to ”30s”. |
requestsPerMinute | number | provider args; stack config via config.getObject | no | Client-side rate limit applied to the Namecheap API, in requests per minute. Must be between 1 and 20 (Namecheap’s documented primary quota). Defaults to 20, matching the SDK’s built-in limiter. |
retryBaseDelay | string | provider args; stack config via config.get | no | First backoff delay before a retried API call, as a Go duration string (e.g. “500ms”, “5s”). Subsequent delays double up to retry_max_delay, and each one is then jittered to between 50% and 100% of that value. Must parse, be greater than zero, and not exceed retry_max_delay. Defaults to “500ms”, matching the SDK’s built-in retry policy. Raise it when the API is rate-limiting: waiting longer between fewer attempts costs less quota than retrying quickly, because every attempt is itself a request. |
retryMaxDelay | string | provider args; stack config via config.get | no | Cap on any single backoff delay between retried API calls, as a Go duration string (e.g. ”30s”, “1m”). Must parse, be greater than zero, and be at least retry_base_delay. Defaults to ”30s”, matching the SDK’s built-in retry policy. |
retryMaxElapsed | string | provider args; stack config via config.get | no | Maximum total wall-clock time to spend retrying a single API call, as a Go duration string (e.g. “2m”, ”90s”). Must parse and be greater than zero. Defaults to “2m”, matching the SDK’s built-in retry policy. |
useSandbox | boolean | provider args; stack config via config.getObject | no | Use sandbox API endpoints |
userName | string | provider args; stack config via config.get | yes | A registered user name for namecheap |