feat(auth): isolate harness secret artifact
CI / test (push) Failing after 34s

This commit is contained in:
m
2026-09-01 23:14:31 +03:00
parent 81ce8dfdb2
commit c831ee1260
3 changed files with 14 additions and 3 deletions
+5 -1
View File
@@ -22,7 +22,11 @@ func main() {
if flag.NArg() != 1 {
fail("usage: secret-control-plane [ensure|rotate]")
}
store, err := platformsecrets.NewLocalMachineCredentialStore(defaultRoot, defaultRuntimeUID, defaultRuntimeGID, nil)
root := os.Getenv("SECRET_CONTROL_PLANE_ROOT")
if root == "" {
root = defaultRoot
}
store, err := platformsecrets.NewLocalMachineCredentialStore(root, defaultRuntimeUID, defaultRuntimeGID, nil)
if err != nil {
fail("control-plane credential store unavailable")
}