Skip to content

Commit

Permalink
Described the change to the enviornment variables
Browse files Browse the repository at this point in the history
  • Loading branch information
mahtin committed Mar 30, 2022
1 parent 2c4ee60 commit f9486e6
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,19 @@ There is one call that presently doesn't need any email or token certification (

### Using shell environment variables

Note (for latest vewrsion of code):

* `CLOUDFLARE_EMAIL` has replaced `CF_API_EMAIL`.
* `CLOUDFLARE_API_KEY` has replaced `CF_API_KEY`.
* `CLOUDFLARE_API_CERTKEY` has replaced `CF_API_CERTKEY`.

Additionally, these two variables are available for testing purposes:

* `CLOUDFLARE_API_EXTRAS` has replaced `CF_API_EXTRAS`.
* `CLOUDFLARE_API_URL` has replaced `CF_API_URL`.

The older environment variable names can still be used.

```bash
$ export CLOUDFLARE_EMAIL='user@example.com' # Do not set if using an API Token
$ export CLOUDFLARE_API_KEY='00000000000000000000000000000000'
Expand Down
13 changes: 13 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,19 @@ There is one call that presently doesn’t need any email or token certification
Using shell environment variables
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Note (for latest vewrsion of code):

- ``CLOUDFLARE_EMAIL`` has replaced ``CF_API_EMAIL``.
- ``CLOUDFLARE_API_KEY`` has replaced ``CF_API_KEY``.
- ``CLOUDFLARE_API_CERTKEY`` has replaced ``CF_API_CERTKEY``.

Additionally, these two variables are available for testing purposes:

- ``CLOUDFLARE_API_EXTRAS`` has replaced ``CF_API_EXTRAS``.
- ``CLOUDFLARE_API_URL`` has replaced ``CF_API_URL``.

The older environment variable names can still be used.

.. code:: bash
$ export CLOUDFLARE_EMAIL='user@example.com' # Do not set if using an API Token
Expand Down

0 comments on commit f9486e6

Please sign in to comment.