cockpit_create_token
Create a Cockpit token for accessing metrics and logs. Specify name and optional scopes; secret key is returned once.
Instructions
Create a Cockpit token.
The secret key is only returned once, on creation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Token name. | |
| region | No | Region such as ``fr-par``. Defaults to the configured region. | |
| project_id | No | Optional project ID. Defaults to the configured project. | |
| token_scopes | No | Optional list of scopes, e.g. ``read_only_metrics``, ``write_only_logs``, ``full_access_alert_manager``. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||