Examples#
- Connection Examples
- Connecting to a default Valkey instance, running locally.
- Connecting to a valkey instance, specifying a host and port with credentials.
- Connecting to a valkey instance with username and password credential provider
- Connecting to a valkey instance with standard credential provider
- Connecting to a valkey instance first with an initial credential set and then calling the credential provider
- Connecting to a valkey instance with AWS Secrets Manager credential provider.
- Connecting to a valkey instance with ElastiCache IAM credential provider.
- Connecting to Valkey instances by specifying a URL scheme.
- Connecting to Valkey instances by specifying a URL scheme and the RESP3 protocol.
- Connecting to a Sentinel instance
- SSL Connection Examples
- Connecting to a Valkey instance via SSL
- Connecting to a Valkey instance via a URL string
- Connecting to a Valkey instance using a ConnectionPool
- Connecting to a Valkey instance via SSL, while specifying a minimum TLS version
- Connecting to a Valkey instance via SSL, while specifying a self-signed SSL CA certificate
- Connecting to a Valkey instance via SSL, and validate the OCSP status of the certificate
- Connect to a Valkey instance via SSL, and validate OCSP-stapled certificates
- Asyncio Examples
- Indexing / querying JSON documents
- Basic
set
andget
operations - Vector Similarity
- Pipeline examples
- Timeseries
- OpenTelemetry Python API