You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# An authenticated call using using a stored profile (see below)
199
+
cf = CloudFlare.CloudFlare(profile="CompanyX"))
197
200
```
198
201
199
202
If the account email and API key are not passed when you create the class, then they are retrieved from either the users exported shell environment variables or the .cloudflare.cfg or ~/.cloudflare.cfg or ~/.cloudflare/cloudflare.cfg files, in that order.
@@ -203,6 +206,7 @@ If you're using an API Token, any `cloudflare.cfg` file must either not contain
203
206
There is one call that presently doesn't need any email or token certification (the */ips* call); hence you can test without any values saved away.
204
207
205
208
### Using shell environment variables
209
+
206
210
```bash
207
211
$ export CF_API_EMAIL='user@example.com'# Do not set if using an API Token
0 commit comments