This code sample shows a go-redis client library configuration for connecting to a Memorystore for Redis instance that has in-transit encryption enabled.
Connect to an instance
The following sample provides an example of how to instantiate a client, load an in-transit encryption Certificate Authority, and how to set up a connection pool.
Go
What's next
- Learn more about in-transit encryption.
- Learn how to enable in-transit encryption on an instance.