d8-contrib-modules / cloudflarephpsdk

PHP SDK For interfacing with CloudFlare's API
8 stars 19 forks source link

Check api key length for global and normal api keys #33

Open Lusitaniae opened 4 years ago

Lusitaniae commented 4 years ago

Global API keys should be deprecated, they provide full account access without any restrictions.

Cloudflare provides new API keys which can be limited by zone and read/write permissions on different settings.

Only difference is key size, 37 char for globals, 40 for new api keys.

New API keys should be the only ones keys being used for any project.

See https://github.com/d8-contrib-modules/cloudflare/issues/66