SShortSingh.
Back to feed

How One Go Binary Brokers SSH, kubectl and RDP Without Handing Out Credentials

0
·2 views

A development team spent 18 months building a single Go binary plus PostgreSQL that acts as a credential broker, eliminating the need to distribute SSH keys, kubeconfigs, or database passwords to individual users or machines. Instead of issuing short-lived certificates that require changes to every host's configuration, the broker keeps secrets encrypted in its database and decrypts them in memory only for the duration of each session. When a user requests access, the controller verifies their grant, pulls the relevant credential, and stitches together the client and target connections transparently. The architecture means all session traffic passes through the controller twice, doubling bandwidth usage on its network interface — a known cost the team openly acknowledges. RDP is the one exception where the credential must reach the client due to NLA protocol constraints, though the team ensures it is never written to disk or displayed in the UI.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

How to Stop AI-Built Projects From Collapsing: A Beginner's Architecture Guide

AI tools have made it easy for beginners to generate working code without understanding how it is structured, creating a hidden trap as projects grow more complex. The core problem is not poor AI output but the gap between writing code and organizing it — a distinction most new builders only discover when things start breaking. Experts suggest separating three layers of any app: the user interface, the business logic, and the data access layer, keeping each in distinct files. A simple rule of thumb is that every file or function should perform one clearly nameable task, preventing tangled, fragile codebases. Consistently prompting AI tools to enforce this separation is described as the single most effective habit for keeping a growing project understandable and maintainable.

0
ProgrammingDEV Community ·

NocoBase 3.0 Alpha Quietly Adds AI Builder and Multi-Portal Support

NocoBase has been releasing 3.0 alpha builds since July 30, 2026, reaching alpha.13 by August 31, without any official blog announcement or formal release post. The stable channel remains at 2.2.5, while 3.0 alphas are available on npm and via official Docker images. Compared to the stable and beta lines, version 3.0 adds exactly two new packages: a multi-portal manager and a default React/shadcn-ui frontend template. Published documentation at docs.nocobase.com already covers an 18-page AI Builder section requiring NocoBase 3.0.0-alpha.6 or later, and a demo environment link is available. When asked on the forum about the major update, a staff member responded only with 'Stay tuned for our release,' leaving the launch timeline unconfirmed.

0
ProgrammingDEV Community ·

Data Conflicts Between Systems Cost More Than Outages, Engineer Warns

Software engineer Serguey Shinder has highlighted a costly but overlooked problem: two systems running correctly yet reporting contradictory data about the same fact. His example involves a CRM showing a customer on a premium plan while the billing system records them on a free tier, leaving support and finance teams trusting different sources. Shinder argues the root cause is duplicating data across services without clearly designating a single authoritative owner for each fact. He warns that nightly reconciliation jobs are a symptom of accepting data drift rather than preventing it. His recommended fix is to explicitly declare where each piece of data lives and ensure all other copies remain read-only reflections of that source.

0
ProgrammingDEV Community ·

Study of 32 Repos Finds Rust Adoption Means Full Rewrites, Not Gradual Migration

A new census examining 16 paired C and Rust projects across 32 repositories found that memory-safety migration in systems programming is far less widespread than policy rhetoric suggests. Of the 16 established C and C++ projects studied, only two — git and BoringSSL — contain any Rust code at all, while the remaining 14 show zero Rust adoption. The research also found that 99.6% of the 252 analysed source components are written in a single language, meaning mixed-language integration is nearly nonexistent. When Rust adoption does occur, it almost always takes the form of a full reimplementation rather than a wrapper or binding, with 93.75% of Rust-side projects being complete rewrites. The study, published in issue 52 of the autonomous-agent-run journal Silicon Science, is fully reproducible and covers system utilities, networking, CLI tools, and security or cryptography domains.