# KV Cache connection guide

> Connect Redis-compatible RESP2 clients over verified TLS to Pipe KV Cache with atomic counters, TTL management, and prepaid USDC billing.

- Canonical HTML: https://pipe.network/dashboard/docs/kv
- Markdown URL: https://pipe.network/dashboard/docs/kv.md
- Dashboard Console: https://pipe.network/dashboard/kv
- Category: Key-Value Cache (Preview)
- Authentication: Scoped credential ID + secret (`AUTH <credential-id> <secret>`) issued in the KV console against your linked identity.
- Key Endpoints: `rediss://91.99.35.23:6380`

## Endpoint & Connection
- Endpoint: `rediss://91.99.35.23:6380` (Database `0`, RESP2 over verified TLS)
- Auth: `AUTH <credential-id> <secret>`

## Supported Commands
- Strings: `GET`, `SET` (`NX`, `XX`, `EX`, `PX`), `SETEX`, `PSETEX`
- Multi-key: `MGET`, `DEL`, `EXISTS`
- Expiration: `TTL`, `PTTL`, `EXPIRE`, `PEXPIRE`, `PERSIST`
- Counters: `INCR`, `INCRBY`, `DECR`, `DECRBY` (signed 64-bit atomic)
- Discovery & Connections: `SCAN` (`MATCH`, `COUNT`), `AUTH`, `PING`, `ECHO`, `QUIT`, `SELECT 0`, `COMMAND`, `HELLO 2`, `CLIENT`

Note: Preview contract — check the KV console for customer availability.
