No secret configuration is needed. When you run Codex, sbx opens the OpenAI sign-in flow on your host before creating the sandbox.

No secret configuration is needed. After Claude Code starts in the sandbox, enter /login and sign in with your Claude account.

{{ range $choice := slice (dict "id" "codex-openai" "service" "openai" "provider" "OpenAI") (dict "id" "claude-anthropic" "service" "anthropic" "provider" "Anthropic") (dict "id" "opencode-anthropic" "service" "anthropic" "provider" "Anthropic") (dict "id" "opencode-openai" "service" "openai" "provider" "OpenAI") (dict "id" "opencode-openrouter" "service" "openrouter" "provider" "OpenRouter") (dict "id" "opencode-google" "service" "google" "provider" "Google") }}

Store your {{ $choice.provider }} API key in the host credential store. The command prompts for the key without displaying it:

{{ transform.Highlight (printf "$ sbx secret set %s" $choice.service) "console" "" }}
{{ end }}