Files
imeai-aKode/docs/authentication.md
andrea.difonzo 7c1c6dfa8d Rinomina: crate akode-*, cartelle akode-rs/ e akode-cli/, binario akode, ~/.akode, AKODE_* (A)
Riapplica la fase 5 di aKode (86e7c72e) sulla base ripulita:
- crate codex-* -> akode-*, codex-rs -> akode-rs, codex-cli -> akode-cli, binario e ausiliari akode;
- ~/.codex -> ~/.akode, CODEX_HOME -> AKODE_HOME, variabili CODEX_* -> AKODE_*, .codex/ -> .akode/ di progetto;
  nessun fallback a ~/.codex o a CODEX_*;
- testi per l'utente "Codex" -> "aKode"; testi verso il modello e istruzioni di sistema invariati;
- snapshot insta rinominati (non ancora rigenerati).
I conflitti con la base ripulita sono stati risolti riapplicando la rinomina ai file senza le
funzioni di imeAI (script di mappa dei token per file).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-17 12:37:52 +01:00

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-key stores an API key (keyring or auth.json, depending on cli_auth_credentials_store).
  • akode login status shows whether a key is stored.
  • akode logout deletes the stored credentials locally; nothing is sent to a remote service.
  • AKODE_API_KEY supplies a key for a single run without storing it.
  • Custom model providers authenticate with their own env_key, experimental_bearer_token, auth command, 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.