---
title: "POST /v1/{+parent}/keyvaluemaps"
method: POST
path: "/v1/{+parent}/keyvaluemaps"
tags: ["organizations"]
---

# POST /v1/{+parent}/keyvaluemaps

`POST /v1/{+parent}/keyvaluemaps`

Creates a key value map in an environment.

## Path parameters

- `parent` string, required

## Request body

- GoogleCloudApigeeV1KeyValueMap — Collection of key/value string pairs.
  - `encrypted` boolean — Required. Flag that specifies whether entry values will be encrypted. This field is retained for backward compatibility and the value of encrypted will always be `true`. Apigee X and hybrid do not support unencrypted key value maps.
  - `name` string — Required. ID of the key value map.
  - `maskedValues` boolean — Optional. Flag that specifies whether entry values will be masked when returned.

## Response `200`

Successful response

---

[API](https://skmtc.net/google/apis/apigee.md) · [All operations](https://skmtc.net/google/apis/apigee/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/apigee/versions/6e272fa448a7/schema)
