Creating URLs with Primary and Secondary Tags in Ghost using routes.yaml

How can I configure routes.yaml to include both primary and secondary tags in Ghost posts URLs simultaneously?

As far as I know only the primary tag can be used in the routes file.
Here are all the properties you can use (see the permalink section):