Key have multipe policy


#1

hi

key can not have multiple policy?
ex) policy1, policy2 in key1

thanks!


#2

Hi Jell

You can only have a single policy per key.

But, Tyk treats policies differently to other management platforms. It means you can have a range of policies that cover the different scenarios you require. You can read more about them here:

https://tyk.io/tyk-documentation/security/security-policies/
https://tyk.io/tyk-documentation/security/security-policies/full-policies/

Also, policies can be partitioned to only apply parts of the policy to the token. So it’s possible to set part of the policy at the policy level and combine it with customisation a at the token level:

https://tyk.io/tyk-documentation/security/security-policies/partitioned-policies/

It should be possible to achieve what you need, it provides a great deal of flexibility.

James