Create new management token command to support different resource permissions (logs, admin, host_details). This fixes failing component tests that need admin-level tokens to access management endpoints. - Add ManagementResource enum values: Admin, HostDetails - Create cmd/cloudflared/management package with token command - Extract shared utilities to cliutil/management.go (GetManagementToken, CreateStderrLogger) - Refactor tail/cmd.go to use shared utilities - Update component tests to use new command with admin resource Closes TUN-10292 |
||
|---|---|---|
| .. | ||
| access | ||
| cliutil | ||
| flags | ||
| management | ||
| proxydns | ||
| tail | ||
| tunnel | ||
| updater | ||
| app_forward_service.go | ||
| app_service.go | ||
| common_service.go | ||
| generic_service.go | ||
| linux_service.go | ||
| macos_service.go | ||
| main.go | ||
| service_template.go | ||
| windows_service.go | ||