IAM auth using CredentialsProvider for ClusterClient #2710
Unanswered
ParthKulkarni
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
With the recent addition of support for IAM auth for redis clusters, I'm looking to move away from the password usage and migrate to using IAM auth. I am using
redis.NewClusterClient
to interface with AWS elasticache for Redis. I am authenticating into the redis instance like so,I saw this example on authenticating using
CredentialsProvider
for a redisClient
. However, I cannot see how I can do the same for aClusterClient
since the ClusterOptions struct does not seem to have support for CredentialsProvider. How should I go about authenticating into elasticache redis using IAM through CredentialsProvider for aClusterClient
with the go-redis package?Could we do something like here - noise.getoto.net/author/younggu-yun (Search for CredentialsProvider on the page)
Beta Was this translation helpful? Give feedback.
All reactions