summaryrefslogtreecommitdiff
path: root/CLAUDE.md
diff options
context:
space:
mode:
authoryyamashita <yyamashita@hetzner.yyamashita.com>2026-10-31 19:51:15 +0900
committeryyamashita <yyamashita@hetzner.yyamashita.com>2026-10-31 19:51:15 +0900
commit0966df2df28ab212a6f4736a4e17a31d690a6173 (patch)
treeeed23188adfdee78bc2bbdbb6c2d8639cc8544db /CLAUDE.md
parentf967c90db70a6cc983b579589185185d6be66aa6 (diff)
hetzner-admin: add passkey login (password login kept)
Replace Basic auth with a session-cookie login page. After password login, register a passkey from the bottom of the page; later logins can use it. Passkeys are stored in hetzner-admin/data/ (gitignored). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'CLAUDE.md')
-rw-r--r--CLAUDE.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/CLAUDE.md b/CLAUDE.md
index f358721..f0a4d06 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -92,6 +92,9 @@ EOF
bash /app/infra/hetzner-admin/install.sh
# → SSH鍵生成 + authorized_keys登録(command= 制限付き)+ コンテナ起動
# → hetzner-admin.yyamashita.com でアクセス可能
+# ログイン: パスワード(.env)またはパスキー。初回はパスワードでログイン →
+# 下部の「Register this device's passkey」で登録 → 以後「Login with Passkey」
+# パスキーは hetzner-admin/data/passkeys.json(gitignore)。全削除すれば登録し直し
# VPN 初回セットアップ(サーバー上で実行)
# 前提: ファイアウォールで UDP 500, 4500 を開放済み