Repository navigation
Document network-limited WireGuard tokens - #2653
Open
miguel-fly wants to merge 8 commits into
Open
miguel-fly wants to merge 8 commits into
miguel-fly wants to merge 8 commits into
Conversation
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Automations to automatically generate PRs for you. |
miguel-fly
marked this pull request as ready for review
November 13, 2026 02:47
kcmartin
reviewed
Nov 13, 2026
Contributor
There was a problem hiding this comment.
Checked against flyctl#5446 and it matches. Holding until #5446 ships in a release and nomad-firecracker#5305 and the web change are deployed, per your rollout note. Two small things:
- "keep a token to the networks it needs": suggested "limit" is listed as an inline suggestion.
- The default-network paragraph is a bit hard to follow because
--network defaultmeans different things on the two commands. A short list might be clearer:- Token allows the default network:
fly tokens create wireguard --network default - Peer on the default network:
fly wireguard create <org> <region> <name>(no--network) fly wireguard create --network defaultmeans a custom network nameddefault.
- Token allows the default network:
kcmartin
reviewed
Nov 13, 2026
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
fly tokens create wireguardis getting a--networkflag that limits a token to named private networks.Solution
security/tokens.mdx, with the--networkflag.flyctl/integrating.mdxand innetworking/custom-private-networks.mdx.Notes
Rollout
--network, and after theweband gateway changes are deployed. Until then,fly wireguard createrefuses a network-limited token.