KeySecretConfig fix bug default expirartion on from array