mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-01-11 18:08:57 +08:00
eed8e43fbd
* providers/cloudflare: Support API tokens Cloudflare API tokens are a new way to authenticate to Cloudflare API. Unlike the Global API key, tokens can be given specific permissions to only access parts of the API. See [1] for details. [1] https://blog.cloudflare.com/api-tokens-general-availability/ This commit introduces a new credential for cloudflare called `apitoken`, which is mutually exclusive with `apiuser` and `apikey`. In order for DNSControl to work with this token, it should have the right to read DNS zones and edit DNS records. Closes #534 * CLOUDFLARE: Update integration tests for api token
119 lines
3.1 KiB
JSON
119 lines
3.1 KiB
JSON
{
|
|
"ACTIVEDIRECTORY_PS": {
|
|
"ADServer": "$AD_SERVER",
|
|
"domain": "$AD_DOMAIN",
|
|
"knownFailures": "29,30,31,32,33,34,35,38,39,40,41,48,49,51,52,53"
|
|
},
|
|
"AZURE_DNS": {
|
|
"SubscriptionID": "$AZURE_SUBSCRIPTION_ID",
|
|
"ResourceGroup": "$AZURE_RESOURCE_GROUP",
|
|
"TenantID": "$AZURE_TENANT_ID",
|
|
"ClientID": "$AZURE_CLIENT_ID",
|
|
"ClientSecret": "$AZURE_CLIENT_SECRET",
|
|
"domain": "$AZURE_DOMAIN"
|
|
},
|
|
"BIND": {
|
|
"domain": "example.com"
|
|
},
|
|
"CLOUDFLAREAPI_OLD": {
|
|
"apikey": "$CF_KEY",
|
|
"apiuser": "$CF_USER",
|
|
"domain": "$CF_DOMAIN"
|
|
},
|
|
"CLOUDFLAREAPI": {
|
|
"apitoken": "$CF_TOKEN",
|
|
"domain": "$CF_DOMAIN"
|
|
},
|
|
"DIGITALOCEAN": {
|
|
"token": "$DO_TOKEN",
|
|
"domain": "$DO_DOMAIN"
|
|
},
|
|
"DNSIMPLE": {
|
|
"COMMENT": "20-22: no ns records managable. Not even for subdomains.",
|
|
"baseurl": "https://api.sandbox.dnsimple.com",
|
|
"domain": "$DNSIMPLE_DOMAIN",
|
|
"knownFailures": "20,21,22",
|
|
"token": "$DNSIMPLE_TOKEN"
|
|
},
|
|
"EXOSCALE": {
|
|
"dns-endpoint": "https://api.exoscale.ch/dns",
|
|
"apikey": "$EXOSCALE_API_KEY",
|
|
"secretkey": "$EXOSCALE_SECRET_KEY",
|
|
"domain": "$EXOSCALE_DOMAIN",
|
|
"knownFailures": "20,21,22"
|
|
},
|
|
"GANDI": {
|
|
"COMMENT": "5: gandi does not accept TTLs less than 300",
|
|
"apikey": "$GANDI_KEY",
|
|
"domain": "$GANDI_DOMAIN",
|
|
"knownFailures": "5"
|
|
},
|
|
"GANDI-LIVEDNS": {
|
|
"COMMENT": "5: gandi does not accept TTLs less than 300",
|
|
"apikey": "$GANDILIVE_KEY",
|
|
"domain": "$GANDILIVE_DOMAIN",
|
|
"knownFailures": "5"
|
|
},
|
|
"GCLOUD": {
|
|
"type": "$GCLOUD_TYPE",
|
|
"client_email": "$GCLOUD_EMAIL",
|
|
"domain": "$GCLOUD_DOMAIN",
|
|
"private_key": "$GCLOUD_PRIVATEKEY",
|
|
"project_id": "$GCLOUD_PROJECT"
|
|
},
|
|
"HEXONET": {
|
|
"apilogin": "$HEXONET_UID",
|
|
"apipassword": "$HEXONET_PW",
|
|
"apientity": "$HEXONET_ENTITY",
|
|
"debugmode": "$HEXONET_DEBUGMODE",
|
|
"ipaddress": "$HEXONET_IP",
|
|
"domain": "dnscontrol.com"
|
|
},
|
|
"LINODE": {
|
|
"COMMENT": "25: Linode's hostname validation does not allow the target domain TLD",
|
|
"token": "$LINODE_TOKEN",
|
|
"domain": "$LINODE_DOMAIN",
|
|
"knownFailures": "27"
|
|
},
|
|
"NS1": {
|
|
"domain": "$NS1_DOMAIN",
|
|
"api_token": "$NS1_TOKEN"
|
|
},
|
|
"NAMEDOTCOM": {
|
|
"apikey": "$NAMEDOTCOM_KEY",
|
|
"apiurl": "$NAMEDOTCOM_URL",
|
|
"apiuser": "$NAMEDOTCOM_USER",
|
|
"domain": "$NAMEDOTCOM_DOMAIN"
|
|
},
|
|
"NAMECHEAP": {
|
|
"apikey": "$NAMECHEAP_KEY",
|
|
"apiuser": "$NAMECHEAP_USER",
|
|
"domain": "$NAMECHEAP_DOMAIN"
|
|
},
|
|
"OCTODNS": {
|
|
"domain": "example.com",
|
|
"directory": "config"
|
|
},
|
|
"ROUTE53": {
|
|
"KeyId": "$R53_KEY_ID",
|
|
"SecretKey": "$R53_KEY",
|
|
"domain": "$R53_DOMAIN"
|
|
},
|
|
"SOFTLAYER": {
|
|
"COMMENT": "22-25 softlayer fails at direct internationalization, puncode works though",
|
|
"knownFailures": "22,23,24,25",
|
|
"domain": "$SL_DOMAIN",
|
|
"username": "$SL_USERNAME",
|
|
"api_key": "$SL_API_KEY"
|
|
},
|
|
"VULTR": {
|
|
"token": "$VULTR_TOKEN",
|
|
"domain": "$VULTR_DOMAIN"
|
|
},
|
|
"OVH": {
|
|
"app-key": "$OVH_APP_KEY",
|
|
"app-secret-key": "$OVH_APP_SECRET_KEY",
|
|
"consumer-key": "$OVH_CONSUMER_KEY",
|
|
"domain": "$OVH_DOMAIN"
|
|
}
|
|
}
|