Hi ,
I am trying leverage the apigee-config-maven-plugin to create KVM in Apigee X and add values to it.
Here is the snippet.
Solved! Go to Solution.
Hi Samirj,
Modifying KVM entries via the Apigee API is not supported in Apigee X.
You can only update the entries in the KVM by using KVM policies. You have a few options to work around this situation.
For option 3, once you deploy the proxy you will have access to the entries. You can even un-deploy the proxy and the entries will persist. For example:
<KeyValueMapOperations async="false" continueOnError="false" enabled="true" name="KV-kvm-test-v1" mapIdentifier="kvm-test-v1">
<InitialEntries>
<Entry>
<Key>
<Parameter>kvm-1-key-1</Parameter>
</Key>
<Value>kvm-1-key-1-value-11</Value>
</Entry>
</InitialEntries>
<Scope>environment</Scope>
</KeyValueMapOperations>
Hope that helps!
Hi Samirj,
Modifying KVM entries via the Apigee API is not supported in Apigee X.
You can only update the entries in the KVM by using KVM policies. You have a few options to work around this situation.
For option 3, once you deploy the proxy you will have access to the entries. You can even un-deploy the proxy and the entries will persist. For example:
<KeyValueMapOperations async="false" continueOnError="false" enabled="true" name="KV-kvm-test-v1" mapIdentifier="kvm-test-v1">
<InitialEntries>
<Entry>
<Key>
<Parameter>kvm-1-key-1</Parameter>
</Key>
<Value>kvm-1-key-1-value-11</Value>
</Entry>
</InitialEntries>
<Scope>environment</Scope>
</KeyValueMapOperations>
Hope that helps!
Thank you @kurtkanaskie