Restrict API tokens to specific domains and contacts
When you create a personal or team token in Account Chief, choose Only selected resources under Domain Chief and list the domain names and contact handles the token may use, one per line. The token then only reaches those domains, with the permissions its scopes grant. Other domains in the team behave as if they don't exist. The token can register or transfer a listed name before it exists in your account.
For example, give Certbot a token with only the domainchief:acme:write scope and the one domain it issues certificates for. You can't change an existing token's resources, so create a new token and revoke the old one. See Restrict a token to specific domains.