Connecting a cache client
Every instance is delivered over TLS with authentication on by default. Customers manage their cache from the WHMCS client area — copying the rediss:// connection URI, running live connection tests, tuning eviction and keyspace notifications, inspecting metrics sparklines, and creating or restoring snapshots.
1. Client area overview
Section titled “1. Client area overview”When a customer opens their Managed Valkey service in the WHMCS client area, the Overview tab surfaces:
- one-click endpoint copy,
- live status and TLS badges,
- a memory usage bar alongside total keys, active connections, and cache hit rate, and
- quick actions for connecting, rotating credentials, and inspecting metrics.

2. The connection URI
Section titled “2. The connection URI”Connection details are provided as a single URI. A dedicated instance’s looks like this:
rediss://:[email protected]:6380/0A shared-plan instance’s names its user and uses its own port on the shared server:
rediss://default:[email protected]:16042/0The rediss:// scheme (note the double “s”) means the connection is TLS-encrypted. The parts are:
| Part | Meaning |
|---|---|
| Scheme | rediss:// — a TLS-encrypted Redis/Valkey connection. |
| User | default — the instance’s ACL user. Dedicated URIs leave it out, which means the same user. |
| Password | The instance’s authentication password (shown after the colon). |
| Host | The instance’s hostname. |
| Port | The TLS port: 6380 by default on a dedicated instance (Settings → DNS & TLS → Valkey TLS port); on a shared plan, the port the pool box assigned to that instance. The plaintext port is disabled. |
| Database | /0 — the default database index. |
3. Connect & Access tab
Section titled “3. Connect & Access tab”The Connect & Access tab groups credentials, live verification, language snippets, TLS certificates, IP allowlisting, and runtime cache settings in one workspace:
- Enter the account password and click Reveal Connection String. The password is masked until revealed, and only shown for that page view. An administrator signed in as the client isn’t asked for the customer’s password; the reveal is recorded under the admin account.
- Click Test Connection to run a live check against the Valkey instance — returning live latency, key count, and connected clients (rate-limited to once every 10 seconds).
- Copy a ready-to-run snippet from the built-in 5-language Client Snippets switcher (
valkey-cli, Nodeioredis, Pythonredis-py, PHPphpredis, and Gogo-redis).
The module also stores the connection string (REDIS_URL) in ImpulseCore’s encrypted secret store and contributes REDIS_URL to Core’s unified environment exporter for project-aware apps.

TLS certificates & ca.crt download
Section titled “TLS certificates & ca.crt download”The TLS Certificate card on Connect & Access shows whether the server uses a publicly trusted Let’s Encrypt certificate (issued via automated Cloudflare DNS-01) or a self-signed certificate:
- Let’s Encrypt DNS-01 TLS: standard OS trust stores verify the certificate automatically — no CA file is required.
- Self-signed TLS: the card provides a direct
ca.crtdownload button so the customer can pass the certificate to their client library without usingopensslmanually.
Client examples
Section titled “Client examples”Managed Valkey speaks the Redis wire protocol, so any Redis-compatible library connects unchanged. Omit the CA certificate option when the server uses a publicly trusted Let’s Encrypt certificate; pass the downloaded ca.crt when self-signed:
# valkey-cli// Node.js (ioredis)const fs = require("fs");const Redis = require("ioredis"); tls: { ca: fs.readFileSync("ca.crt") },});# Python (redis-py)import redis// PHP (phpredis)$redis = new Redis();$redis->connect('tls://your-host.example.com', 6380, 2.5, null, 0, 0, [ 'cafile' => 'ca.crt', 'verify_peer' => true,]);$redis->auth('your-password');// Go (go-redis)import ( "crypto/tls" "crypto/x509" "os" "github.com/redis/go-redis/v9")
caCert, _ := os.ReadFile("ca.crt")pool := x509.NewCertPool()pool.AppendCertsFromPEM(caCert)
rdb := redis.NewClient(&redis.Options{ Addr: "your-host.example.com:6380", Password: "your-password", DB: 0, TLSConfig: &tls.Config{RootCAs: pool},})4. IP allowlist & cache configuration
Section titled “4. IP allowlist & cache configuration”Restricting access with an allowlist
Section titled “Restricting access with an allowlist”Every instance requires TLS and a password, so it is never open to anonymous access. When the allowlist is empty, an explicit notice on Connect & Access reminds the customer that the endpoint accepts connections from all IP addresses over TLS + AUTH.
To restrict network access:
- Click Use my IP to pre-fill your current address, or enter an IP address or CIDR range (for example
203.0.113.10or203.0.113.0/24) with an optional label. - Click Add. The rule is pushed to the instance’s firewall over the Admin Proxy — on a shared plan, scoped to that instance’s port only.
Self-service cache configuration
Section titled “Self-service cache configuration”From the Cache Configuration panel on Connect & Access, customers can tune two runtime settings without SSH or CONFIG SET access:
- Eviction Policy — choose from all 8 Valkey eviction policies (
allkeys-lru,volatile-lru,allkeys-lfu,volatile-lfu,allkeys-random,volatile-random,volatile-ttl,noeviction). - Keyspace Notifications (
notify-keyspace-events) — choose between Disabled,Ex(expired events),KEA(all keyspace and keyevent notifications), orKg$(generic and string commands). Changes are applied through the scoped Admin Proxy, so they work identically on shared pool boxes even though customer ACLs blockCONFIG SET.
5. Rotating the password
Section titled “5. Rotating the password”Customers can rotate credentials from Overview or Connect & Access (operators can also trigger a rotation from the WHMCS service page):
- Rotate Password — generates and applies a new password immediately while keeping the previous password valid for a configurable grace window (default 30 minutes). A credential-rotation cron (every 5 minutes) revokes expired grace passwords on the server for zero-downtime rollover.
- Rotate Now (No Grace) — immediately revokes the previous password and closes existing open connections. Use this when a credential is suspected compromised.
If connections fail right after a rotation, re-reveal the connection string and update the application to the current password.
6. Metrics & sparklines
Section titled “6. Metrics & sparklines”The Metrics tab shows live and historical cache health collected by the hourly usage cron, plus an on-demand Refresh Metrics button (rate-limited to once every 15 seconds):
- Inline SVG Memory Usage (%) and Cache Hit Rate (%) sparklines rendered from the last 24 samples.
- Smart memory and eviction tuning hints when utilization or evictions climb.
- A full metrics breakdown table covering memory, keys, hit/miss ratio, evicted keys, expired keys, and client connections.

7. Snapshots & self-service restore
Section titled “7. Snapshots & self-service restore”The Snapshots tab lists automated hourly and daily RDB snapshots alongside manual snapshots on both dedicated servers and shared pool boxes:
- Click Create Snapshot to take an on-demand RDB snapshot.
- Click Restore on any available snapshot and type
RESTOREto confirm. Restoring replaces the cache’s current contents with the selected snapshot in place.

Customers also have Core-rendered Security and Maintenance tabs on both dedicated and shared services to track engine security posture and scheduled maintenance windows.