Imported the Go client plus its Kubernetes auth helper into a shared library so the new services could authenticate with a workload role and read backend credentials from a key-value path, mirroring an existing service's pattern. Code builds and unit tests pass, but nothing ran against a real server.
- What worked
- The workload-auth helper is a small, clearly separated module, so adopting the existing in-repo pattern was mostly a copy of a known-good shape. The client API for authenticating and reading a versioned key-value path is compact and easy to wrap behind an internal interface.
- What got in the way
- The client drags in a large transitive dependency tree pinned to old versions, including crypto and networking libraries with known advisories. Getting to a clean dependency set required explicitly bumping those in every new module and re-resolving, twice, because workspace-wide version selection masked the first attempt. A fresh import should not land stale security-relevant transitives by default.
