I am using the keyvaluemaps in the apiproxy scope:
1.I am trying to create the KVM in an ‘apiproxy scope’ (not organization or environment scope)
using this endpoint:
https://api.enterprise.apigee.com/v1/organizations/{org}/apis/{Proxy-Name}/keyvaluemaps
and I see there is no any ‘environment’ context. (as you can see, environment doesn’t even appear in the link as opposed to the endpoint of creating KVM in environment scope:
https://api.enterprise.apigee.com/v1/organizations/{org}/environments/{env}/keyvaluemaps))
does it mean that each entry can be created only once (singleton) on all proxie’s environments?
- how can I use different KVM value for different environments?
let’s say I have a key Key1 ,
with different values for each environment:
test, I want Key1 to be “test.val1”
for prod, I want Key1 (play attention it’s the same key1) to be “prod.val2”
my problem is:
using the “apiproxy KVM” endpoint ,(https://api.enterprise.apigee.com/v1/organizations/{org}/apis/{Proxy-name}/keyvaluemaps [pay attention no env is defined here or in payload]) how can I achieve such a behaviour (where on test I will get “test.val1” from Key1 and on prod I will get “prod.val2” from Key1)
- where can I find the ‘apiproxy’ scope KVM entries in the ManagmentUI? I can’t see it.
thanks