TL;DR: AI-native development now hinges on ephemeral access design, not secret visibility alone, as 1Password says its Codex integration keeps secrets out of prompts, code, and model context by injecting credentials at runtime and limiting them to approved sessions.
Editorial analysis by NHI Mgmt Group, based on content published by 1Password: “1Password secures coding agents with new OpenAI Codex integration”.
Key questions
Q: What breaks when coding agents are given persistent credentials instead of just-in-time access?
A: Persistent credentials break the assumption that access can be safely reviewed after issuance.
Q: Why do AI coding tools increase secrets risk?
A: AI coding tools increase secrets risk because they can accelerate the reuse of insecure patterns across repositories, test fixtures, and automation scripts.
Q: How do security teams know if just-in-time access is actually working?
A: Look for short-lived sessions, automatic revocation, and complete request-to-access logs.
Practitioner guidance
- Instrument just-in-time issuance for agent workflows Require credentials to be issued only inside approved execution paths and expire them when the task ends, not when a person logs out.
- Remove credential material from prompts and repositories Replace copied secrets, hardcoded values, and local credential files with vaulted references so the agent never sees the raw secret.
- Separate developer context from credential context Keep model prompts, code generation, and terminal output isolated from secrets so a coding agent cannot surface or retain usable credentials.
Bottom line: Coding agents change the identity problem because access now has to be governed at runtime, not only protected at storage.
Explore further
View Full Forum → | NHI Foundation Course → | Our Services → | Read the full analysis →
Runtime access is becoming the governing unit of identity for coding agents. The old model treated secrets as possessions to store and rotate, but AI-native development turns them into transient permissions that must exist only long enough to complete a single task. That makes issuance, approval, and expiry more important than secret visibility alone. Practitioners should start treating runtime as the boundary that matters.
A few things that frame the scale:
- Claude Code-assisted commits leaked secrets at a rate of 3.2%, more than double the human-only baseline of 1.5%, with peaks reaching 31 secrets per 1,000 commits in August 2025, according to the State of Secrets Sprawl 2026.
- Only 44% of developers are reported to follow security best practices for secrets management, exposing a significant developer behaviour gap, according to the State of Secrets in AppSec.
A question worth separating out:
Q: Who should own governance when human and AI agent identities share workflows?
A: Identity, security, and platform teams should share ownership, but accountability must be explicit and tied to the workflow owner. Shared workflows collapse responsibility quickly unless each action can be traced to a specific identity and authority chain. That is especially true when agents operate inside developer or browser environments.
👉 Read our full editorial: 1Password's Codex integration reframes just-in-time AI access