write tftrue logs.tf api key if a user has one set