Close service account credentials in config template