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

Add support for authentication to a remote redis #68

Open
E-wave112 opened this issue Jun 27, 2022 · 2 comments
Open

Add support for authentication to a remote redis #68

E-wave112 opened this issue Jun 27, 2022 · 2 comments

Comments

@E-wave112
Copy link

Hello,

I am trying to connect my fastapi application to a redis server instance hosted on redis_labs and it requires me to provide my credentials(username and password) before i can connect to the server. unfortunately i can't find a way to provide my credentials when instantiating the FastApiRedisCache() class.

Is there a walkaround to this?

@jameswinegar
Copy link

@E-wave112 you can pass it in the connection URI.

https://stackoverflow.com/questions/44344628/how-to-create-a-redis-cloud-connection-url-with-an-auth-password

@E-wave112
Copy link
Author

Thank you @jameswinegar i will be sure to try the options out and let you know of the outcome!

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

No branches or pull requests

2 participants