---
title: "Changes to Create Produce Policy for Virtual Cluster"
method: POST
path: "/v1/event-gateways/{gatewayId}/virtual-clusters/{virtualClusterId}/produce-policies#Encrypt"
---

# Changes to Create Produce Policy for Virtual Cluster

`POST /v1/event-gateways/{gatewayId}/virtual-clusters/{virtualClusterId}/produce-policies#Encrypt`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 6 of 30 revisions.

- **2026-03-04** `e425d5193d3e`: 2 breaking
- **2026-02-16** `106b373707f3`: 4 breaking, 8 info
- **2025-12-19** `0325d14dfc53`: 4 breaking, 1 warning, 17 info
- **2025-11-06** `5d2b35832e3f`: 3 breaking, 4 warning
- **2025-10-17** `564d63b800a1`: 1 breaking
- **2025-10-08** `be46646a0f0a`: 1 info

## Changes

- **2026-03-04** `e425d5193d3e`: 2 breaking
  - removed `#/components/schemas/EncryptionKeyStaticReferenceById, #/components/schemas/EncryptionKeyStaticReferenceByName` from the `config/encryption_key/oneOf[#/components/schemas/EncryptionKeyStatic]/key` request property `anyOf` list
  - the request property `name` became not nullable
- **2026-02-16** `106b373707f3`: 4 breaking, 8 info
  - the response property `config` became nullable for the status `201`
  - the response property `config` became optional for the status `201`
  - the `condition` response property's minLength was decreased from `1` to `0` for the response status `201`
  - the `name` response property's minLength was decreased from `1` to `0` for the response status `201`
  - added the new optional `query` request parameter `after`
  - added the new optional `query` request parameter `before`
  - the `condition` request property default value `` was added
  - the `description` request property default value `` was added
  - the `condition` request property's minLength was decreased from `1` to `0`
  - the `name` request property's minLength was decreased from `1` to `0`
  - the `condition` response's property default value `` was added for the status `201`
  - the `description` response's property default value `` was added for the status `201`
- **2025-12-19** `0325d14dfc53`: 4 breaking, 1 warning, 17 info
  - added the new required request property `config`
  - added the new required request property `type`
  - the request's body type changed from no type to `object`
  - the response's body type changed from no type to `object` for status `201`
  - removed `#/components/schemas/BaseEventGatewayPolicy, subschema #2` from the request body `allOf` list
  - added the new optional request property `condition`
  - added the new optional request property `description`
  - added the new optional request property `enabled`
  - added the new optional request property `labels`
  - added the new optional request property `name`
  - removed `#/components/schemas/BaseEventGatewayPolicy, subschema #2` from the response body `allOf` list for the response status `201`
  - added the optional property `condition` to the response with the `201` status
  - added the optional property `description` to the response with the `201` status
  - added the optional property `enabled` to the response with the `201` status
  - added the optional property `labels` to the response with the `201` status
  - added the optional property `name` to the response with the `201` status
  - added the optional property `parent_policy_id` to the response with the `201` status
  - added the required property `config` to the response with the `201` status
  - added the required property `created_at` to the response with the `201` status
  - added the required property `id` to the response with the `201` status
  - added the required property `type` to the response with the `201` status
  - added the required property `updated_at` to the response with the `201` status
- **2025-11-06** `5d2b35832e3f`: 3 breaking, 4 warning
  - added the new required request property `allOf[subschema #2]/config/encryption_key`
  - added the new required request property `allOf[subschema #2]/config/part_of_record`
  - the request property `allOf[subschema #2]/config` became not nullable
  - deleted the `query` request parameter `parent_policy_id`
  - removed the request property `allOf[subschema #2]/config/encrypt`
  - removed the request property `allOf[subschema #2]/config/key_sources`
  - added the new `type` enum value to the `allOf[subschema #2]/invalid_parameters/items/oneOf[#/components/schemas/InvalidParameterStandard]/rule` response property for the response status `400`
- **2025-10-17** `564d63b800a1`: 1 breaking
  - the request property `allOf[#/components/schemas/BaseEventGatewayPolicy]/description` became not nullable
- **2025-10-08** `be46646a0f0a`: 1 info
  - endpoint added

---

[Operation](https://skmtc.dev/kong/apis/konnect-api-beta/docs/v1/event-gateways/:gatewayId/virtual-clusters/:virtualClusterId/produce-policies%23Encrypt/post.md) - [API](https://skmtc.dev/kong/apis/konnect-api-beta.md) - [Page](https://skmtc.dev/kong/apis/konnect-api-beta/changes/v1/event-gateways/:gatewayId/virtual-clusters/:virtualClusterId/produce-policies%23Encrypt/post)
