From e2a2c95203c6cadbab44226c2713f4519bb6c4e5 Mon Sep 17 00:00:00 2001 From: Seyed Mostafa Hashemian Date: Tue, 10 Nov 2026 00:21:33 +0100 Subject: [PATCH 1/3] docs: move Tailscale API token guide from issue #15 to wiki --- wiki/TAILSCALE_API_TOKEN.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 wiki/TAILSCALE_API_TOKEN.md diff --git a/wiki/TAILSCALE_API_TOKEN.md b/wiki/TAILSCALE_API_TOKEN.md new file mode 100644 index 0000000..bf2b707 --- /dev/null +++ b/wiki/TAILSCALE_API_TOKEN.md @@ -0,0 +1,18 @@ +# Tailscale API token + +You can create the token here: https://login.tailscale.com/admin/settings/keys. +Under **API access tokens**, click **Generate access token…**. 90 days is the maximum, and the description can be anything, e.g. `born2root baas`. + +For a credential that never expires, use an OAuth client instead: https://login.tailscale.com/admin/settings/oauth, with scopes `auth_keys`, `dns` and `devices`. + +**Do not paste the token in chat or issues.** Anything sent in conversation history stays there. Write it straight into the secrets file instead (only needs to be done once): + +```bash +nano ~/.config/born2root/b2b-secrets +``` + +Fill in the empty `TS_API_TOKEN=` line, or add one if it's missing: + +``` +TS_API_TOKEN=tskey-api-... +``` From 174743fd3042143c2afeaee88b65fc5be17dd93c Mon Sep 17 00:00:00 2001 From: Seyed Mostafa Hashemian Date: Tue, 10 Nov 2026 00:26:53 +0100 Subject: [PATCH 2/3] docs: fix markdownlint line length in TAILSCALE_API_TOKEN.md --- wiki/TAILSCALE_API_TOKEN.md | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/wiki/TAILSCALE_API_TOKEN.md b/wiki/TAILSCALE_API_TOKEN.md index bf2b707..4a2cce4 100644 --- a/wiki/TAILSCALE_API_TOKEN.md +++ b/wiki/TAILSCALE_API_TOKEN.md @@ -1,17 +1,27 @@ # Tailscale API token -You can create the token here: https://login.tailscale.com/admin/settings/keys. -Under **API access tokens**, click **Generate access token…**. 90 days is the maximum, and the description can be anything, e.g. `born2root baas`. +You can create the token here: +https://login.tailscale.com/admin/settings/keys. -For a credential that never expires, use an OAuth client instead: https://login.tailscale.com/admin/settings/oauth, with scopes `auth_keys`, `dns` and `devices`. +Under **API access tokens**, click **Generate access token\u2026**. +90 days is the maximum, and the description can be anything, +e.g. `born2root baas`. -**Do not paste the token in chat or issues.** Anything sent in conversation history stays there. Write it straight into the secrets file instead (only needs to be done once): +For a credential that never expires, use an OAuth client instead: +https://login.tailscale.com/admin/settings/oauth, +with scopes `auth_keys`, `dns` and `devices`. + +**Do not paste the token in chat or issues.** +Anything sent in conversation history stays there. +Write it straight into the secrets file instead +(only needs to be done once): ```bash nano ~/.config/born2root/b2b-secrets ``` -Fill in the empty `TS_API_TOKEN=` line, or add one if it's missing: +Fill in the empty `TS_API_TOKEN=` line, or add one if +it's missing: ``` TS_API_TOKEN=tskey-api-... From 29cb897d8c9899b328c4d0292bbdd3cedde4360a Mon Sep 17 00:00:00 2001 From: Seyed Mostafa Hashemian Date: Tue, 10 Nov 2026 00:30:04 +0100 Subject: [PATCH 3/3] docs: fix markdownlint MD034/MD040 in TAILSCALE_API_TOKEN.md --- wiki/TAILSCALE_API_TOKEN.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wiki/TAILSCALE_API_TOKEN.md b/wiki/TAILSCALE_API_TOKEN.md index 4a2cce4..ea15016 100644 --- a/wiki/TAILSCALE_API_TOKEN.md +++ b/wiki/TAILSCALE_API_TOKEN.md @@ -1,14 +1,14 @@ # Tailscale API token You can create the token here: -https://login.tailscale.com/admin/settings/keys. +[https://login.tailscale.com/admin/settings/keys](https://login.tailscale.com/admin/settings/keys). Under **API access tokens**, click **Generate access token\u2026**. 90 days is the maximum, and the description can be anything, e.g. `born2root baas`. For a credential that never expires, use an OAuth client instead: -https://login.tailscale.com/admin/settings/oauth, +[https://login.tailscale.com/admin/settings/oauth](https://login.tailscale.com/admin/settings/oauth), with scopes `auth_keys`, `dns` and `devices`. **Do not paste the token in chat or issues.** @@ -23,6 +23,6 @@ nano ~/.config/born2root/b2b-secrets Fill in the empty `TS_API_TOKEN=` line, or add one if it's missing: -``` +```text TS_API_TOKEN=tskey-api-... ```