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 authentication for Redis #861

Merged
merged 1 commit into from
Sep 19, 2024

Conversation

nledez
Copy link
Contributor

@nledez nledez commented Sep 18, 2024

Problem
Need to secure Redis with a password

Solution
Add password authentication to Redis

@@ -64,7 +65,11 @@ def get_status(self):
host = config.KEY_VALUE_STORE["host"]
port = config.KEY_VALUE_STORE["port"]
db = config.KV_JOB_DB_INDEX
url = "redis://%s:%s/%s" % (host, port, db)
password = (config.KEY_VALUE_STORE["password"],)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you have problem there. You assign a tuple to password

@nledez nledez force-pushed the redis-with-password branch from 12951e0 to 1262291 Compare September 18, 2024 19:10
@frankrousseau frankrousseau merged commit 23a8046 into cgwire:master Sep 19, 2024
7 checks passed
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.

2 participants