feat(connectors): credentials sealed with age, and secret engines that resolve them (#1977, #1982)

Credentials are typed (machine, age), write-only through the API and sealed
to the age identity in the bootstrap config. A field holds a value or names a
secret engine key; connectors and engines are accepted with credential slots
that resolve into their Configure secrets. The secret engine contract gains
secrets so an engine can receive its own key.
This commit is contained in:
sam committed 2026-11-15 22:14:26 +11:00
1 parent 777b17acf7
commit e787a79af4
15 files changed
+759 -48

No files matched your search

+4
View File
@@ -23,9 +23,13 @@ func main() {
func run() error {
configPath := flag.String("config", archie.DefaultConfigPath(), "path to the bootstrap config file")
newIdentity := flag.Bool("new-age-identity", false, "print a new age identity for age_identity and exit")
showVersion := buildinfo.RegisterVersionFlag("archie")
flag.Parse()
showVersion()
if *newIdentity {
return archie.NewAgeIdentity(os.Stdout)
}
ctx, stop := signal.NotifyContext(context.Background(), os.Interrupt, syscall.SIGTERM)
defer stop()