Default CLI auth credentials store to auto

This commit is contained in:
mikhail-oai
2026-02-15 20:34:52 -05:00
committed by Mikhail Sosonkin
parent 19afbc35c1
commit 5802e4868f
6 changed files with 78 additions and 21 deletions

View File

@@ -125,6 +125,13 @@
"AuthCredentialsStoreMode": {
"description": "Determine where Codex should store CLI auth credentials.",
"oneOf": [
{
"description": "Use keyring when available; otherwise, fall back to a file in CODEX_HOME.",
"enum": [
"auto"
],
"type": "string"
},
{
"description": "Persist credentials in CODEX_HOME/auth.json.",
"enum": [
@@ -139,13 +146,6 @@
],
"type": "string"
},
{
"description": "Use keyring when available; otherwise, fall back to a file in CODEX_HOME.",
"enum": [
"auto"
],
"type": "string"
},
{
"description": "Store credentials in memory only for the current process.",
"enum": [
@@ -1286,7 +1286,7 @@
}
],
"default": null,
"description": "Preferred backend for storing CLI auth credentials. file (default): Use a file in the Codex home directory. keyring: Use an OS-specific keyring service. auto: Use the keyring if available, otherwise use a file."
"description": "Preferred backend for storing CLI auth credentials. auto (default): Use the keyring if available, otherwise use a file. file: Use a file in the Codex home directory. keyring: Use an OS-specific keyring service."
},
"compact_prompt": {
"description": "Compact prompt used for history compaction.",