cloudflared-mirror/credentials
Luis Neto 1cedefa1c2 TUN-9583: set proper url and hostname for cloudflared tail command
This commit adds support for FedRAMP environments. Cloudflared will
now dynamically configure the management hostname and API URL, switching 
to FedRAMP-specific values like `management.fed.argotunnel.com` and `https://api.fed.cloudflare.com/client/v4`
when a FedRAMP endpoint is detected.

Key to this is an enhanced `ParseToken` function, which now includes an `IsFed()`
method to determine if a management token's issuer is `fed-tunnelstore`. This allows
cloudflared to correctly identify and operate within a FedRAMP context, ensuring 
proper connectivity.

Closes TUN-9583
2025-07-23 20:09:50 +01:00
..
credentials.go TUN-9583: set proper url and hostname for cloudflared tail command 2025-07-23 20:09:50 +01:00
credentials_test.go chore: fix linter rules 2025-04-01 18:57:55 +01:00
origin_cert.go TUN-8960: Connect to FED API GW based on the OriginCert's endpoint 2025-02-25 17:13:33 +00:00
origin_cert_test.go fix: Use path and filepath operation appropriately 2025-04-01 17:59:43 +01:00
test-cert-no-token.pem TUN-7134: Acquire token for cloudflared tail 2023-04-12 09:43:38 -07:00
test-cert-unknown-block.pem TUN-8960: Connect to FED API GW based on the OriginCert's endpoint 2025-02-25 17:13:33 +00:00
test-cloudflare-tunnel-cert-json.pem TUN-7134: Acquire token for cloudflared tail 2023-04-12 09:43:38 -07:00