806 B
806 B
Authentication
aKode authenticates only with API keys or provider-owned credentials. Signing in with a ChatGPT account (browser, device code, or access tokens) is not supported.
printenv OPENAI_API_KEY | codex login --with-api-keystores an API key (keyring orauth.json, depending oncli_auth_credentials_store).akode login statusshows whether a key is stored.akode logoutdeletes the stored credentials locally; nothing is sent to a remote service.AKODE_API_KEYsupplies a key for a single run without storing it.- Custom model providers authenticate with their own
env_key,experimental_bearer_token,authcommand, or HTTP headers.
Credentials stored by older releases that used ChatGPT sign-in are ignored;
run akode logout and log in again with an API key.