Repository file format

I cannot find any documentation or example of the repository file format.
It works when I set RESTIC_REPOSITORY=xxxx and RESTIC_PASSWORD=yyyy through environment variables. When I put those same variables in a config_file and use --repository-file=config_file I get a fatal parsing error.
I’m using the following format:
RESTIC_REPOSITORY=xxxx
RESTIC_PASSWORD=yyyy

Can someone provide and example?

I found it by trial and error. You cannot put the settings in this file, it is only the destination of the repository, ie: the xxxx part of the RESTIC_REPOSITORY=xxxx environment variable.