Skip to content

Commit 38b828f

Browse files
committed
Update to use TLS in readme example
Signed-off-by: currantw <[email protected]>
1 parent 0cf4a7e commit 38b828f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,11 +106,12 @@ var passwordConfig = new StandaloneClientConfigurationBuilder()
106106

107107
using var passwordClient = await GlideClient.CreateClient(passwordConfig);
108108

109-
// IAM authentication.
109+
// IAM authentication with TLS.
110110
var iamAuthConfig = new IamAuthConfig("my-cluster", ServiceType.ElastiCache, "us-east-1");
111111
var iamConfig = new ClusterClientConfigurationBuilder()
112112
.WithAddress(host, port)
113113
.WithAuthentication("username", iamAuthConfig)
114+
.WithTls(true)
114115
.Build();
115116

116117
using var iamClient = await GlideClient.CreateClient(iamConfig);

0 commit comments

Comments
 (0)