SShortSingh.
Back to feed

How to Use Cursor OIDC JWTs for Secure, Secretless Vault Access in Cloud Agents

0
·13 views

Cursor cloud agents can authenticate with HashiCorp Vault using short-lived OIDC JWTs minted from a local Unix socket, eliminating the need for static, long-lived Vault tokens. The agent mints a JWT with a five-minute TTL by calling an internal socket endpoint, then exchanges it for a temporary Vault token lasting up to 30 minutes. Vault independently fetches Cursor's JWKS from api.cursor.com to validate the token, meaning no Cursor API callback is required from the Vault side. Vault's JWT auth backend can be configured via Terraform to bind roles to specific Cursor user IDs, team IDs, or repository URLs for fine-grained access control. This approach follows the same dynamic credentials pattern already used by HCP Terraform, leaving no persistent credentials in the agent environment after the run completes.

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 ·

LangBot Lets You Deploy Kimi K3 Across Discord, Slack, Telegram and LINE

Moonshot launched Kimi K3 on July 22, 2026, describing it as its most capable AI model, featuring native vision support and a one-million-token context window. The open-source LangBot framework allows developers to connect Kimi K3 to multiple messaging platforms — including Discord, Slack, Telegram, and LINE — through a single unified pipeline. LangBot separates the model configuration, conversation pipeline, and platform-specific bot connections into three independent layers, eliminating the need to rebuild webhooks or integrations when switching channels. Developers can self-host LangBot via Docker, configure Kimi K3 using Moonshot's API, and gradually add features such as memory, retrieval-augmented generation, and agent tools before going live. The same pipeline can be assigned to multiple bots simultaneously, letting one Kimi K3 setup serve several communities while keeping platform credentials isolated.

0
ProgrammingDEV Community ·

Queryable Executables Embed AI and Data Capabilities Directly Into Applications

Queryable executables are a software design approach that embeds database querying, analytics, and decision-making capabilities directly into applications, removing reliance on external systems. Tools like SQLite and platforms such as Redbean and Querio enable real-time data access, natural language queries, and automated decisions within a single executable. This model reduces development complexity, lowers costs, and improves performance in low-resource or privacy-sensitive environments by keeping data local. North America currently leads adoption, representing 35 percent of global usage, though smaller organizations face barriers including skill gaps and implementation costs. As the approach grows more widespread, security risks from malicious embedded scripts are also rising, prompting platforms like Stairwell to offer pre-deployment executable analysis and integrity verification.

0
ProgrammingDEV Community ·

AI Tool Proposed to Help APAC Workers Understand Legal Documents in Local Languages

A developer participating in Google's Gen AI Academy APAC Edition has proposed a multilingual AI assistant aimed at helping daily-wage workers, migrant laborers, and small business owners in the Asia-Pacific region navigate complex legal paperwork. The tool would allow users to upload a photo of a document or submit a voice query, receiving plain-language explanations in their local dialect. It leverages Google's Gemini API for document analysis, Cloud Translation API for regional language conversion, and Text-to-Speech to deliver audio summaries for users with limited literacy. The initiative targets a widespread problem where language and literacy barriers leave vulnerable workers exposed to unfair contracts, missed government benefits, and unresolved workplace grievances. The project is currently at the concept stage, with the developer aiming to build a functional version through the Gen AI Academy program.

0
ProgrammingDEV Community ·

How to Handle ACH Return Codes Programmatically in Payout Systems

ACH return codes, defined by Nacha, are standardized signals (R01–R85) that explain why a bank payment has failed, covering issues from insufficient funds to unauthorized transactions. Payment processors receive these returns in batches, typically one to two business days after the original transaction, making timely reconciliation logic essential. Developers can categorize return codes into permanent failures, temporary failures, and disputes, and automate responses such as retrying, escalating to a risk team, or prompting customers to update their bank details. A daily reconciliation job that queries the processor's API, matches returns to pending payouts by trace number, and triggers downstream workflows is recommended best practice. For recipients with high return rates, alternative payment rails like RTP or Visa Direct offer faster failure detection, albeit at a higher cost than ACH's typical $0.25 per transaction.