I would like to have a JWT with an attribute of array type. For example “orgs”: [“orgA”,“orgB”,orgC"].
Then I would like to create policy that will grant permissions to the JWT’s owner for secrets associated with all orgs included in the array.
For example /mysystem/{{identity.entity.orgs[*]}}/orgsecrets
What is the correct way to write this policy template?