Updated dnsapi (markdown)
parent
1d9e1bfa11
commit
9d8d67e792
|
@ -11,13 +11,13 @@ Currently Cloudflare doesn't allow API access in free tld domain. You will get t
|
|||
CloudFlare Domain API offers two methods to automatically issue certs.
|
||||
|
||||
### Using the global API key
|
||||
First you need to login to your CloudFlare account to get your [API key](https://dash.cloudflare.com/profile).
|
||||
First you need to login to your CloudFlare account to get your [API key](https://dash.cloudflare.com/profile). Each token generated is not stored on cloudflare account and will have expiry if not set correctly. You will get this in API keys section.
|
||||
```
|
||||
export CF_Key="sdfsdfsdfljlbjkljlkjsdfoiwje"
|
||||
export CF_Email="xxxx@sss.com"
|
||||
```
|
||||
|
||||
### Using the new cloudflare api token
|
||||
### Using the new cloudflare api token, you will get this after normal login and scroll down on dashboard and copy credentials.
|
||||
```
|
||||
export CF_Token="sdfsdfsdfljlbjkljlkjsdfoiwje"
|
||||
export CF_Account_ID="xxxxxxxxxxxxx"
|
||||
|
|
Loading…
Reference in New Issue