[GH-ISSUE #5898] Allow automated Bootstrapping #11259

Open
opened 2026-08-05 01:29:05 -04:00 by saavagebueno · 0 comments
Owner

Originally created by @roflhouse on GitHub (Apr 15, 2026).
Original GitHub issue: https://github.com/netbirdio/netbird/issues/5898

Is your feature request related to a problem? Please describe.
I am trying to implement an ansible playbook to deploy netbird's selfhost server and am really struggling with a hands off bootstrapping. I was able to install and setup the basic settings on netbird. However I hit a problem with the API. Currently the API only works with PATs and that requires manually setting it up.

Describe the solution you'd like
Please return a usable token when setting up the Root Admin. the unauthenticated API call which allows you to setup the admin /api/setup allows for bootstrapping the admin user/password if that returned an admin owned PAT or even a temporary token I could bootstrap the various things i need.

Describe alternatives you've considered
You could also allow for alternative login methods which don't require manual input. Or adding functionality to the CLI token generation to add a token to the Owner user if you have root access to the netbird server. currently it only generates nbx_ tokens which aren't helpful for using the api.

Originally created by @roflhouse on GitHub (Apr 15, 2026). Original GitHub issue: https://github.com/netbirdio/netbird/issues/5898 **Is your feature request related to a problem? Please describe.** I am trying to implement an ansible playbook to deploy netbird's selfhost server and am really struggling with a hands off bootstrapping. I was able to install and setup the basic settings on netbird. However I hit a problem with the API. Currently the API only works with PATs and that requires manually setting it up. **Describe the solution you'd like** Please return a usable token when setting up the Root Admin. the unauthenticated API call which allows you to setup the admin /api/setup allows for bootstrapping the admin user/password if that returned an admin owned PAT or even a temporary token I could bootstrap the various things i need. **Describe alternatives you've considered** You could also allow for alternative login methods which don't require manual input. Or adding functionality to the CLI token generation to add a token to the Owner user if you have root access to the netbird server. currently it only generates nbx_ tokens which aren't helpful for using the api.
saavagebueno added the feature-request label 2026-08-05 01:29:05 -04:00
Sign in to join this conversation.
No Label feature-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#11259