Send Docs Feedback

Note: Most user interface tasks can be performed in Edge Classic or the New Edge experience. For an overview, getting started topics, and release notes specific to the New Edge experience, see the docs.

Create KeyValueMap in an API proxy

Resource Summary

Security

Content Type

application/json

Category

KeyValueMaps,

createAPIKVMaps

POST

Create KeyValueMap in an API proxy

Creates a key value map (KVM) for a single API proxy.

A key value map is a simple structure for persistently storing name/value pairs as entries in a named map. The entries in a KVM can be retrieved at runtime by the Key Value Map Operations policy or code running on Apigee Edge. Use KVMs for use cases such as profile-based access control, storing environment-specific data, to control application-specific behavior, and so on.

 

You can created an encrypted KVM by adding "encrypted" : "true" to the payload. You update encrypted KVMs the same way you update non-encrypted KVMs.

 

For information on retrieving KVMs, see:

Resource URL

https://api.enterprise.apigee.com/v1 /organizations/{org_name}/apis/{api_name}/keyvaluemaps

Header Parameters

Name Values Description
Content-Type
(required)

Specify the Content Type as application/json.

Request Body

Name Description Default Required?
name The name of the map to be created. Characters you can use in the name are restricted to: A-Z0-9._\-$ %. N/A Yes
encrypted true to create an encrypted KVM. false No
entry The name/value pairs for the entry that defines the data to be stored. Characters you can use in the entry are restricted to: A-Z0-9._\-$ %. N/A Yes

org_name Mention the organization name true

env_name Mention the API proxy name true

HTTP Basic

OAuth 2.0

API Key

Reset

Make a request and see the response.

Make a request and see the response.

Make a request and see the response.

Working...

Help or comments?