The former implementation did only allow for Role Policies. This will do the trick for client policies as well.
Please be aware that the former implementation did include a the PolicyConfig Config directly within the policy and therefore, as public class PolicyConfig contained [JsonProperty("roles")] was tied to Role policies. This was moved to RolePolicy and might have introduced a breaking change for a user expecting it to be part of a policy.
The former implementation did only allow for Role Policies. This will do the trick for client policies as well. Please be aware that the former implementation did include a the
PolicyConfig Config
directly within the policy and therefore, as public class PolicyConfig contained [JsonProperty("roles")] was tied to Role policies. This was moved toRolePolicy
and might have introduced a breaking change for a user expecting it to be part of a policy.