Once it absorbs a key’s metal ions, it discards the key without a second thought. However, it will hang on to keys it favors for decades.
In the past, noble families entrusted their vault keys to a Klefki. They passed the Klefki down through the generations, taking good care of it.