It's more about ensuring that the keys have some modicum of responsible control. If you give naked keys to Claude in a chat session and use something like atuin threads in 6 months to sync agent sessions across machines you might have put your keys in a a few dozen files without realizing it.
In an ideal world, the key you give Claude isn't useful for more than X amount of time, and ideally not against the true endpoint at all.
(Hi I work on Atuin threads!)
Very true! Generally good to avoid giving Claude long lived keys
Buuuut if you do by accident, we’ve put a lot of work into making sure threads redacts as many secret patterns as possible, and update that list regularly