Regenerate API key for an agent
Regenerate the API key for an existing agent.
This will invalidate the old API key and generate a new one. The new key will only be shown once, so make sure to save it.
You can optionally save the updated configuration to a file.
Examples:
Regenerate key for an agent
mutiro agents regenerate-key my-agent
Regenerate key and save config to file
mutiro agents regenerate-key my-agent -o agent-config.yaml
mutiro agents regenerate-key [username] [flags]
Regenerate key for an agent
Regenerate key and save config to file
| Flag | Type | Description |
|---|---|---|
| -h, --help | bool | help for regenerate-key |
| -o, --output | string | Output configuration file |
| Flag | Type | Description |
|---|---|---|
| --config | string | config file (default is ./.mutiro.yaml in current directory) |
| --debug | bool | debug mode |
| -v, --verbose | bool | verbose output |