AccountCredential
Parameters and properties
Section titled “Parameters and properties”The fields below cover all variants; the signature specifies their allowed combinations.
fileVariant-dependentstringHost path of a session file, or of a Kimi Code profile directory, read instead of the CLI’s default location. ~ expands to the host home; relative paths resolve from the current directory. Only regular files up to 1 MiB are read.keyVariant-dependentstringLiteral subscription token forwarded as CLAUDE_CODE_OAUTH_TOKEN (Claude Code) or COPILOT_GITHUB_TOKEN (Copilot); other CLIs reject it. Prefer variable to keep secrets out of source files.variableVariant-dependentstringName of a resolved workflow variable holding the subscription token, forwarded like key; Claude Code and Copilot only.