Administers the NAS as its automation account, whose password is in OpenBao and never typed or printed (at-home-tools' nas package, AHT-258)
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Nelson bc815c8d0b
All checks were successful
Suite release / check-build (none, ubuntu-latest) (ubuntu-latest, none) (push) Has been skipped
Suite release / check-package (push) Has been skipped
Suite release / publish (push) Has been skipped
Suite release / deploy-image (push) Has been skipped
Suite release / scope (push) Successful in 16s
Suite release / reserve (push) Has been skipped
Suite release / check-manifest (push) Has been skipped
Suite release / build (none, ubuntu-latest) (ubuntu-latest, none) (push) Has been skipped
Suite release / finalize (push) Has been skipped
Suite release / reused-checks (push) Has been skipped
Suite release / deliver (push) Has been skipped
Suite release / deliver-prune (push) Has been skipped
Suite release / module (push) Successful in 15s
Sign in through auth-client instead of auth (AUT-14) (#3)
2026-11-30 23:33:36 -08:00
go.mod Sign in through auth-client instead of auth (AUT-14) (#3) 2026-11-30 23:33:36 -08:00
go.sum Sign in through auth-client instead of auth (AUT-14) (#3) 2026-11-30 23:33:36 -08:00
nas.go Sign in through auth-client instead of auth (AUT-14) (#3) 2026-11-30 23:33:36 -08:00
nas_test.go nas-admin: the nas package moves in from at-home-tools, on the netclient library (#1) 2026-11-29 23:12:28 -08:00
README.md nas-admin: the nas package moves in from at-home-tools, on the netclient library (#1) 2026-11-29 23:12:28 -08:00
setup.go nas-admin: the nas package moves in from at-home-tools, on the netclient library (#1) 2026-11-29 23:12:28 -08:00

nas-admin

Administers the NAS as its automation admin account, whose password is in OpenBao (secret/nas/automation) and never typed or printed. The nas tool, router and homesvc use it, and nascred signs logons in with it.

The package is still named nas; the repository is nas-admin because nas is the nas tool's.

It was at-home-tools' nas package until shared packages got repositories of their own (AGT-85, AHT-258).

Using it

require forgejo.romaine.life/romaine-life/nas-admin v0.1.0
import nas "forgejo.romaine.life/romaine-life/nas-admin"

Testing

go test ./...; nothing reaches the NAS or OpenBao.

Shipping

A library: the release-module topic in pipeline-templates' fleet.json tags each merge that changes the code, and every fleet repository whose go.mod requires it gets a take-up. Forgejo pushes it to its public GitHub copy, which proxy.golang.org serves to builds outside CI.