cloudflared-mirror/cmd
Gonçalo Garcia 372a4b7079 TUN-10292: Add cloudflared management token command
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
2026-03-05 16:31:24 +00:00
..
cloudflared TUN-10292: Add cloudflared management token command 2026-03-05 16:31:24 +00:00