Hi,
I’m new to Tyk and have hit a slight problem, hoping someone maybe able to point me in the right direction.
I have an upstream API that I need to provide access to. I would like to provide varying levels of access to it, with per user apikeys controlled by Tyk
I need to somehow map the Tyk generated keys these to group apikeys for the upstream service.
For example, tyk has generated an apikey ‘user1’, this key will be granted read-only access to the upstream service, that access is provided via upstream apikey ‘rotest’
Can I map the apikey ‘12345’ to the upstream service apikey ‘rotest’, if so can I do this for multiple users, eg tyk generated apikeys ‘user1’, ‘user2’ and ‘user5’ map to upstream apikey ‘rotest’?
I’m looking for something like the add header functionality but having the header value based off some form of policy or key metadata
Perhaps I need to go down the virtual endpoint path and embed the mapping logic in there?
Thanks,
Phil