Last updated: 2026-04-18
What is API key?
Secret credential that authenticates your agent to an LLM provider. Store in a .env file (never in code), rotate every 30 days, and never commit to a public repo. Keys are the #1 accidental leak vector in agent setups.
See also
← Back to the full AI agent glossary.