Providers / Porkbun

Domains and DNS

Porkbun domains, keys and logins

What every Porkbun credential a founder holds does, whether it expires, and what tends to break. Each fact links to Porkbun's own docs.

Last checked 2026-11-08 · porkbun.com

At a glance

CredentialExpiryPermissions
Porkbun dashboard loginNot documented–
API key and secret API key (v3)Not documentedCan be scoped

Each credential

Porkbun dashboard login

Dashboard login. Manages API keys at porkbun.com/account/api. Password/2FA policy not confirmed in sources.

Porkbun docs

API key and secret API key (v3)

Key pair (apikey + secretapikey), sent in the JSON body or as X-API-Key / X-Secret-API-Key headers. Secret is shown only once at creation. Keys can be restricted to a source IP allowlist (IPv4/IPv6, CIDR) and to scopes (permission groups such as dns, domains, purchase). Keys can be revoked via /apikey/revoke or the dashboard; no key lifetime is stated. /ping verifies credentials.

Porkbun docs

What usually goes wrong

Renewals and billing

API purchases are paid from prepaid account credit (v3.36 changelog); /domain/renew also accepts payWith card. Renewals via API are blocked until 30 days after the last registration or renewal (RENEWAL_TOO_SOON).

Where to find it in Porkbun

What Porkbun's docs don't say

We couldn't confirm these from official docs, so don't rely on them either way:

Rotating or replacing a Porkbun key

The steps are the same for most providers: make the new key, deploy it everywhere the old one is used, check it works, then revoke the old one. Our guides walk through it:

Sources

Related providers

Keep track of every Porkbun key

StackHangar stores your Porkbun keys in an encrypted vault, grouped by the product they belong to, warns you before they expire, and walks you through rotating them. We can't read your secrets.