SShortSingh.
Back to feed

Kubernetes Pod Identity: Replacing Static Credentials with SPIFFE/SPIRE and Bound Tokens

0
·4 views

The article argues that static cloud keys, service account JSON files, and long-lived database passwords in Kubernetes Secrets create serious exfiltration risks. It recommends short-lived, audience-bound workload identities instead, using managed options such as EKS Pod Identity, GKE Workload Identity Federation, or AKS Entra Workload ID. For bare-metal clusters, it proposes either federating via the kube-apiserver OIDC endpoints or deploying SPIFFE/SPIRE with TPM-based node attestation and OpenBao for dynamic credentials. It also explains why pre-1.21 legacy tokens were dangerous and how bound ServiceAccount tokens, which expire, are scoped to an audience, and are tied to a pod, mitigate that risk. The piece concludes with baseline rules such as disabling automatic token mounting by default and using dedicated ServiceAccounts per microservice.

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
ProgrammingHacker News ·

Second-hand 5G router found to contain a hidden Tailscale backdoor named after its buyer

A user who bought a used 5G router discovered it had been configured with a Tailscale access node. The device's Tailscale entry was labeled with the buyer's own name, suggesting the previous owner or a third party had set it up for remote access. The findings were detailed in a personal blog post that quickly drew attention on Hacker News, where it gathered 24 points and 7 comments. The article is based on the author's own inspection of the hardware and does not describe a broader industry-wide compromise.

0
ProgrammingHacker News ·

Essay Argues Your Attention Is Worth About $100k Over a Career

A blog post titled "Your Attention Costs $100k" by author Tornike Onoprishvili was shared on Hacker News, where it gained 47 points and seven comments. The piece argues that the time and focus a person gives to distractions can be translated into a substantial financial figure over a working lifetime. The excerpt available provides only the post's link and discussion metadata, so the specific calculations and reasoning behind the $100k estimate could not be verified here. Readers interested in the methodology should consult the original essay directly.

0
ProgrammingDEV Community ·

ClaudeMap Charts 419 Claude Ecosystem Resources, Including Maintenance and Compatibility Gaps

A developer built ClaudeMap, a community-curated map of the Claude ecosystem tracking 419 resources across six categories with more than 40 contributors. The author argues that typical awesome-lists fail users by omitting maintenance status, compatibility with current Claude Code versions, and clear setup instructions. Of the 91 MCP servers listed, 35 carry an official tag, but six official entries point to an archived repository, showing that an official label does not guarantee active maintenance. The project also highlights lesser-known tools such as Ripwire, Deja Vu, GitMCP, and Blitz Strike that generic directory searches tend to miss.

0
ProgrammingDEV Community ·

Codex CLI Output: Choosing Stdout or JSONL and Gating the Contract

A job that exits successfully but produces an empty payload is an easy failure to overlook in automation. This guide examines how to choose between the two output contracts of OpenAI's Codex CLI in non-interactive mode. By default, progress goes to stderr and the final message to stdout, while the --json flag switches stdout to a JSON Lines event stream. The vendor documentation covers the stream split and JSONL shape but not event types, exit codes, or partial-output behavior after a timeout. The author recommends treating stdout as the payload, stderr as diagnostics, and checking both exit status and non-empty output.