Oracle Cloud Infrastructure (OCI) Node.js/TypeScript SDK module for managing Redis Service resources. Version 2.132.0 supports all Redis CRUD operations including instances, clusters, configurations, and work requests. Part of the official OCI TypeScript SDK, it is updated monthly with new features and bug fixes. Differentiates from generic Redis clients by providing full OCI IAM integration, automatic request signing, and first-class TypeScript types. Requires an OCI account, API key pair, and appropriate policies.
npm install oci-redisNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Initializes RedisClient using OCI config file auth, lists Redis clusters in a compartment.
Update to v2 constructor: new RedisClient({ authenticationDetailsProvider: ..., region: ... })Use 'RedisCluster' instead of 'RedisInstance'.
Use const { RedisClient } = require('oci-redis'); or import.
For models: const models = require('oci-redis/lib/models');Always provide required fields; check TypeScript types for exact requirements.
Use environment variables HTTP_PROXY/HTTPS_PROXY or configure via authentication details provider.
Upgrade to v2.132.0 and use listRedisClusters.
Add compartmentId to the request object.
Run 'npm install oci-redis' and ensure import path is correct: 'oci-redis'.
Upgrade to v2.132.0 and check that response.items is an array.