Can One Automatically Generate An API Token?

Hey everyone!

I’m building a CLI tool and I was wondering if there’s an easy way to get users authorized to be able to interact with their CF accounts through the CLI tool as Wrangler does.

Is there a way to send users to the browser like Wrangler does with all of the token information already entered and the only thing users have to do is click a button to accept to generate the API token, or do I have to route users to CF’s site and have them manually set up all of the token information to generate the API token?

Thanks!

A post was merged into an existing topic: Will CF Stop Supporting Global API Key For Authorization?