Is it possible to have environment specific consumer Key & secret in apigee?

Hi,

We have setup the apigee hybrid for few of our services and it is working fine. We have 5 environment in a single organization and the data in each of the environment is different.

 As we have different environments, we dont want the consumer Secret generated in one environment to be used in another environment. So, is there a way to make the consumerKey environment specific? Or should we handle it using an intermediate service ourself?

Any comments or suggestions would be helpful as we are new to the apigee. Also anyone please comment the maximum number of organization-environment combinations possible in apigee.

Thanks in advance!

Solved Solved
0 3 104
1 ACCEPTED SOLUTION

Not out of the box, you'd need to customize it to support this.

View solution in original post

3 REPLIES 3

It sounds like you may want to have separate API products mapped to specific environments

https://cloud.google.com/apigee/docs/api-platform/publish/create-api-products

https://docs.apigee.com/api-platform/publish/create-api-products

To access the same API in a different environment could then require a different API product, which is mapped to a different client key/secret.

Hi, 

Yes, I am aware of the API Products can be created specific to the environment. But it is possible to use the same API Products(as the single api product can be used in multiple envioronments) and only key to be specific?

Not out of the box, you'd need to customize it to support this.