save the secrets cache version in kconf