cli
cli copied to clipboard
[FEATURE REQUEST] Allow creating automation tokens from the CLI
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/