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 Environment

Resource Summary

Security

Content Type

application/json

Category

KeyValueMaps,

createEnvKVMaps

POST

Create KeyValueMap in an Environment

Creates a key value map in an environment.

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 can also create and manage environment-scoped key/value maps in the management UI. For more information, see Creating and editing environment key/value maps.

 

For information on retrieving KVMs, see:

Resource URL

https://api.enterprise.apigee.com/v1 /organizations/{org_name}/environments/{env_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 environment 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?