UsageCredential
Parameters and properties
Section titled “Parameters and properties”The fields below cover all variants; the signature specifies their allowed combinations.
keyVariant-dependentstringLiteral API key forwarded in the CLI’s API-key variable: ANTHROPIC_API_KEY, OPENAI_API_KEY, GEMINI_API_KEY or KIMI_API_KEY. Prefer variable to keep secrets out of source files.variableVariant-dependentstringName of a resolved workflow variable holding the API key; its value is forwarded in the CLI’s standard API-key variable.