The interface never holds a key
Credentials, the network client, and the database all live in a separate Rust core. The screen you type into can ask for a completion and nothing else — it has no way to read a key or open a connection, and that's enforced by how the app is built, not a setting you could turn off.