Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add Google IAM credentials for Redis password #1761

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

jasonschroeder-sfdc
Copy link
Collaborator

@jasonschroeder-sfdc jasonschroeder-sfdc commented Jun 10, 2024

This is to support Google Memorystore Redis Cluster to use IAM authentication.
See also: https://cloud.google.com/memorystore/docs/cluster/manage-iam-auth

To provide auth, you can use GOOGLE_APPLICIATION_CREDENTIALS env variable to buildfarm containers, or, if you are deployed to Google Cloud, you can use native identity binding.

The majority of `GoogleCredentialProvider.java` is inspired by
https://cloud.google.com/memorystore/docs/cluster/client-library-connection#jedis

Used in accordance to license:
> Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License
Use `GoogleCredentialProvider.java` to provide Redis credentials.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant