cli icon indicating copy to clipboard operation
cli copied to clipboard

[FEATURE REQUEST] Allow creating automation tokens from the CLI

Open ajhall opened this issue 2 years ago • 0 comments

Is your feature request related to a problem? Please describe. I can create user tokens from the CLI, but not automation tokens. I'd like to be able to do both.

Describe the solution you'd like I'd like a feature to create automation tokens added to the CLI. For example, maybe it could be a parameter on the existing fastly auth-token create command, such as fastly auth-token create --type=automation.

Describe alternatives you've considered I could call the API directly.

Additional context

  • User tokens API: https://developer.fastly.com/reference/api/auth-tokens/user/
  • Automation tokens API: https://developer.fastly.com/reference/api/auth-tokens/automation/

ajhall avatar Jan 15 '24 14:01 ajhall