Based on this block in the code, looks like this ability is not implemented yet and this issue seems to be tracking it.
Since its open source, you could implement it for your scenario and even contribute it back to the project. Policies for an API must be parsed for named values to know which ones to extract.