How on earth do you generate a Fly.io auth token with current flyctl???

“Global Options” (in any CLI that I know of) are options that can be supplied for any command – so the --access-token is where you can supply an already existing Fly token authorizing the user to take whatever action is being attempted with flyctl. If you are already able to use flyctl without passing an auth token, you don’t need to specify it. The flag is not specific to fly tokens create and is optional, just like the options --debug and --verbose right next to it.

2 Likes