-
Notifications
You must be signed in to change notification settings - Fork 35
feat: gateway enrollment token flow #183
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
bd45820
feat: gateway enrollment token flow
bernie-g fe2bc62
feat: gateway name as positional arg with --name deprecated
bernie-g ea34f02
fix: persist effective domain during enrollment even without --domain…
bernie-g facc596
fix: skip stored token loading when explicit credentials are provided
bernie-g ce33e87
fix: use Geteuid instead of Getuid for effective root check in conf path
bernie-g 38fe5b8
fix: use 0700 permissions for gateway config directory
bernie-g b602fff
feat: idempotent enrollment command for gateway restarts
bernie-g 239c865
fix: remove --name flag references from command descriptions and exam…
bernie-g 4d06796
refactor: use EnrollMethodStatic constant instead of magic string
bernie-g 9b91827
fix: remove legacy auth method references from token flag descriptions
bernie-g 62e520a
feat: scope gateway config files by name for multi-gateway support
bernie-g d464016
refactor: rename enroll-method from 'static' to 'token'
bernie-g d52b4f8
feat: use V3 token-auth/enroll endpoint for gateway enrollment
bernie-g 72c78c3
fix: clean up per-gateway config directory on systemd uninstall
bernie-g 856fc31
fix: check explicit CLI flags instead of env vars for hasExplicitCreds
bernie-g 625ec1c
fix: use enrolled access token directly instead of re-reading via env…
bernie-g 93160e9
feat: use V3 /connect for enrollment-flow gateways, add CallConnectGa…
bernie-g 2730731
refactor: remove relay selection from enrollment, handled by connect
bernie-g feba1f7
fix: use access token for relay selection in enrollment flow
bernie-g 32675c0
fix: pass relay name to systemd install, use correct operation name i…
bernie-g File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.