﻿# Codex Cloud secrets: match delivery to the client contract

Codex Cloud secrets: match delivery to the client contract. Primary documentation, practical limits and a testable scenario through May 2027.

Author: Retrivium team
Updated: 2026-11-06
Canonical URL: https://retrivium.ai/journal/frontier-space-cloud-secret-delivery-client-contract/
Language: en

## Two delivery mechanisms serve different programs

[Cloud environment documentation](https://learn.chatgpt.com/docs/environments/cloud-environments) distinguishes direct environment variables from network secrets. A direct variable reaches a program as a readable value. For a network secret, programs receive a placeholder and the proxy substitutes the credential for allowed HTTPS destinations. These are different execution contracts. Choosing between them should follow how the client uses the value, rather than the convenience of putting every configuration item in one category.

## Preserve the protocol boundary

The guide specifies substitution for HTTPS on port 443 during setup and tasks. It does not place the raw credential in a local process or file. A client that must parse or transform the credential cannot be assumed to work with a placeholder. Conversely, a client that only sends the value to an allowed service may not need direct access to it. Verify the intended request path instead of inferring compatibility from the variable's name.

## Scope personal values explicitly

The documentation says shared environments can request values each person supplies separately, with environment-specific personal values taking precedence over general defaults. Only requested values reach a task. [The Cloud overview](https://learn.chatgpt.com/docs/cloud) describes credentials as part of service preparation, not a universal transfer of the user's local secrets. Record the requested key and delivery type without including the secret itself in the evidence or project brief.

## Evaluate compatibility without exposing credentials

Our proposed test uses a harmless service credential and a client whose operation is known. Check a permitted request and an expected denial, then compare a placeholder-only client with one requiring local value access. The [task-contract guide](/journal/learn-codex-task-contract/) helps define the observable distinction; [reproducibility](/journal/software-stack-reproducibility/) explains documenting configuration purpose while keeping sensitive values outside the result.

## Capability scenario through May 2027

A more capable setup agent could infer the narrowest suitable delivery mechanism from client behaviour and verify it without exposing the value. This is our scenario, not an announced automatic secret classifier. It requires understanding the protocol and evidence from the intended operation. A client silently receiving a placeholder it tries to parse would be counterevidence. The meaningful advance would be correct configuration reasoning across several tools, while retaining explicit current limits rather than claiming that every credential can remain unavailable to every local process.
