Skip to content

Document network-limited WireGuard tokens - #2653

Open
miguel-fly wants to merge 8 commits into
mainfrom
miguel/network-limited-wireguard-tokens
Open

miguel-fly wants to merge 8 commits into
mainfrom
miguel/network-limited-wireguard-tokens

Conversation

@miguel-fly

@miguel-fly miguel-fly commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

Problem

  • The docs don't cover WireGuard tokens.
  • fly tokens create wireguard is getting a --network flag that limits a token to named private networks.

Solution

  • A short "Create an org-scoped WireGuard token" section in security/tokens.mdx, with the --network flag.
  • One linking line in flyctl/integrating.mdx and in networking/custom-private-networks.mdx.

Notes

Rollout

  • Merge after the flyctl release that has --network, and after the web and gateway changes are deployed. Until then, fly wireguard create refuses a network-limited token.

@mintlify

mintlify Bot commented Nov 13, 2026 •

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
fly-io 🟢 Ready View Preview Nov 13, 2026, 5:59 PM

💡 Tip: Enable Automations to automatically generate PRs for you.

@miguel-fly
miguel-fly marked this pull request as ready for review November 13, 2026 02:47
@miguel-fly
miguel-fly requested a review from a team as a code owner November 13, 2026 02:47

@kcmartin kcmartin left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 default means 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 default means a custom network named default.

Comment thread flyctl/integrating.mdx Resolved
Comment thread security/tokens.mdx Resolved
Comment thread security/tokens.mdx Resolved

@kcmartin kcmartin left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

This branch was successfully deployed

1 active deployment
staging — 6cda4199 Deployed Nov 13, 2026 by mintlify[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants