Your AI coding agent needs your API keys. It needs them to call services, to

test integrations, to run your stack. So you give it .env files, or you

export keys into the environment, or you paste them into config files the

agent can read.

That means your secrets live inside the agent's context window — the same