Principles
- Scope to zones, not the account. Most providers let a token reach named zones only.
- Read first. Connect read-only, look at what the tool finds and proposes, then grant write access.
- One credential per tool, so revoking one does not break another.
- Set an expiry where the provider supports it, and rotate before it.
- No account, billing or user management permissions. A DNS tool never needs them.
Examples
| Provider | Read-only | Read and write |
|---|---|---|
| Cloudflare | API token with Zone, DNS, Read on the named zones | Add Zone, DNS, Edit on the same zones |
| AWS Route 53 | IAM policy with route53:ListResourceRecordSets and GetHostedZone on the hosted zone ARN | Add route53:ChangeResourceRecordSets and GetChange on the same ARN |
| Azure DNS | DNS Zone Reader role scoped to the zone resource | DNS Zone Contributor scoped to the zone |
| Google Cloud DNS | roles/dns.reader on the project | roles/dns.admin, ideally in a project holding only DNS |
Provider consoles change. The member app's connection guide for each provider shows the current steps and the exact permissions, and its Test button reports what the credential can and cannot do.
How our product uses a credential
Credentials are sealed with a key held outside the database and opened only inside the call to the provider; they are never shown again or sent to the browser. Every change still goes through a plan, a simulation and approval, whatever the credential allows.