Create Key Value instance
render_create_key_valueCreate a new Key Value instance on Render to provision a Redis-compatible store, specifying owner, plan, region, and optional settings like eviction policy and persistence.
Instructions
Create Key Value instance. Create a new Key Value instance. Calls POST /key-value on the Render Public API. Usage: Key Value is Render's Redis-compatible store and supersedes the deprecated toolset's Redis endpoints. Read credentials with render_retrieve_key_value_connection_info; the connection string is not returned by list or retrieve.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The name of the Key Value instance | |
| plan | Yes | ||
| region | No | Defaults to "oregon" | oregon |
| ownerId | Yes | The ID of the owner of the Key Value instance | |
| ipAllowList | No | ||
| environmentId | No | ||
| maxmemoryPolicy | No | The eviction policy for the Key Value instance | |
| persistenceMode | No | The persistence mode for the Key Value instance. The default for paid instances is journal_snapshot (both journaling and snapshots). Only turn off persistence if you're using this Key Value instance as a cache and are okay with losing data. Free instances do not have persistence. |