save a template for the credentials file