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 |
||
|---|---|---|
| .. | ||
| base_client.go | ||
| client.go | ||
| hostname.go | ||
| hostname_test.go | ||
| ip_route.go | ||
| ip_route_filter.go | ||
| ip_route_test.go | ||
| tunnel.go | ||
| tunnel_filter.go | ||
| tunnel_test.go | ||
| virtual_network.go | ||
| virtual_network_filter.go | ||
| virtual_network_test.go | ||