cloudflared-mirror/cmd/cloudflared
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
..
access AUTH-7480 update fed callback url for login helper 2025-08-19 18:54:31 +00:00
cliutil TUN-10292: Add cloudflared management token command 2026-03-05 16:31:24 +00:00
flags TUN-9858: Remove proxy-dns feature from cloudflared 2026-02-06 12:43:53 +00:00
management TUN-10292: Add cloudflared management token command 2026-03-05 16:31:24 +00:00
proxydns TUN-9858: Add more information to proxy-dns removal message 2026-02-11 17:59:38 +00:00
tail TUN-10292: Add cloudflared management token command 2026-03-05 16:31:24 +00:00
tunnel TUN-9858: Remove proxy-dns feature from cloudflared 2026-02-06 12:43:53 +00:00
updater chore: fix linter rules 2025-04-01 18:57:55 +01:00
app_forward_service.go TUN-4067: Reformat code for consistent import order, grouping, and fix formatting. Added goimports target to the Makefile to make this easier in the future. 2021-03-24 10:53:29 -05:00
app_service.go TUN-9858: Remove proxy-dns feature from cloudflared 2026-02-06 12:43:53 +00:00
common_service.go TUN-5679: Add support for service install using Tunnel Token 2022-03-03 18:59:03 +00:00
generic_service.go chore: fix linter rules 2025-04-01 18:57:55 +01:00
linux_service.go Fix systemd service installation hanging 2025-10-23 14:38:09 +00:00
macos_service.go Fix broken links in `cmd/cloudflared/*.go` related to running tunnel as a service 2025-04-01 17:45:59 +01:00
main.go TUN-10292: Add cloudflared management token command 2026-03-05 16:31:24 +00:00
service_template.go TUN-9016: update go to 1.24 2025-06-06 09:05:49 +00:00
windows_service.go TUN-9016: update go to 1.24 2025-06-06 09:05:49 +00:00