Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Cloudflare API Token replacing legacy API Key #429

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

thekordy
Copy link

As stated here: https://developers.cloudflare.com/fundamentals/api/get-started/keys/

Global API key is the previous authorization scheme for interacting with the Cloudflare API. When possible, use API tokens instead of Global API key.

This small pull request will add support for users to use Cloudflare API tokens instead of email+API Key (which could also solve the problem stated here #302 ) that is more secured settings than entering the global API key.

As a result, only API token is needed, users won't need to set their Cloudflare email.

set the config

ee config set cloudflare-api-token <cf-api-token>

renew SSL

ee site ssl-renew <site-name>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant