Skip to content

Commit 01cea8d

Browse files
authored
Merge pull request #55 from taylorleese/fix/env-var-docs
Fix environment variable naming inconsistencies in documentation
2 parents a81d2fe + 71ced36 commit 01cea8d

File tree

3 files changed

+16
-16
lines changed

3 files changed

+16
-16
lines changed

.env.example

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ REDIS_DB=0
44
REDIS_USERNAME=default
55
REDIS_PWD=your_password
66
REDIS_SSL=False
7-
REDIS_CA_PATH=/path/to/ca.pem
7+
REDIS_SSL_CA_PATH=/path/to/ca.pem
88
REDIS_SSL_KEYFILE=/path/to/key.pem
99
REDIS_SSL_CERTFILE=/path/to/cert.pem
10-
REDIS_CERT_REQS=required
11-
REDIS_CA_CERTS=/path/to/ca_certs.pem
10+
REDIS_SSL_CERT_REQS=required
11+
REDIS_SSL_CA_CERTS=/path/to/ca_certs.pem
1212
REDIS_CLUSTER_MODE=False

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ The following example is for Claude Desktop, but the same applies to any other M
196196
"REDIS_PORT": "<your_redis_database_port>",
197197
"REDIS_PWD": "<your_redis_database_password>",
198198
"REDIS_SSL": True|False,
199-
"REDIS_CA_PATH": "<your_redis_ca_path>",
199+
"REDIS_SSL_CA_PATH": "<your_redis_ca_path>",
200200
"REDIS_CLUSTER_MODE": True|False
201201
}
202202
}
@@ -309,11 +309,11 @@ If desired, you can use environment variables. Defaults are provided for all var
309309
| `REDIS_USERNAME` | Default database username | `"default"` |
310310
| `REDIS_PWD` | Default database password | "" |
311311
| `REDIS_SSL` | Enables or disables SSL/TLS | `False` |
312-
| `REDIS_CA_PATH` | CA certificate for verifying server | None |
312+
| `REDIS_SSL_CA_PATH` | CA certificate for verifying server | None |
313313
| `REDIS_SSL_KEYFILE` | Client's private key file for client authentication | None |
314314
| `REDIS_SSL_CERTFILE` | Client's certificate file for client authentication | None |
315-
| `REDIS_CERT_REQS` | Whether the client should verify the server's certificate | `"required"` |
316-
| `REDIS_CA_CERTS` | Path to the trusted CA certificates file | None |
315+
| `REDIS_SSL_CERT_REQS`| Whether the client should verify the server's certificate | `"required"` |
316+
| `REDIS_SSL_CA_CERTS` | Path to the trusted CA certificates file | None |
317317
| `REDIS_CLUSTER_MODE` | Enable Redis Cluster mode | `False` |
318318

319319

smithery.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ startCommand:
2727
type: boolean
2828
default: false
2929
description: Enable SSL for Redis connection
30-
redisCAPath:
30+
redisSSLCAPath:
3131
type: string
3232
default: ""
3333
description: CA certificate path for verifying server
@@ -39,11 +39,11 @@ startCommand:
3939
type: string
4040
default: ""
4141
description: Client certificate file for authentication
42-
redisCertReqs:
42+
redisSSLCertReqs:
4343
type: string
4444
default: required
4545
description: Certificate requirements
46-
redisCACerts:
46+
redisSSLCACerts:
4747
type: string
4848
default: ""
4949
description: Path to trusted CA certificates file
@@ -59,11 +59,11 @@ startCommand:
5959
REDIS_USERNAME: config.redisUsername,
6060
REDIS_PWD: config.redisPwd,
6161
REDIS_SSL: String(config.redisSSL),
62-
REDIS_CA_PATH: config.redisCAPath,
62+
REDIS_SSL_CA_PATH: config.redisSSLCAPath,
6363
REDIS_SSL_KEYFILE: config.redisSSLKeyfile,
6464
REDIS_SSL_CERTFILE: config.redisSSLCertfile,
65-
REDIS_CERT_REQS: config.redisCertReqs,
66-
REDIS_CA_CERTS: config.redisCACerts
65+
REDIS_SSL_CERT_REQS: config.redisSSLCertReqs,
66+
REDIS_SSL_CA_CERTS: config.redisSSLCACerts
6767
}
6868
})
6969
exampleConfig:
@@ -72,8 +72,8 @@ startCommand:
7272
redisUsername: default
7373
redisPwd: ""
7474
redisSSL: false
75-
redisCAPath: ""
75+
redisSSLCAPath: ""
7676
redisSSLKeyfile: ""
7777
redisSSLCertfile: ""
78-
redisCertReqs: required
79-
redisCACerts: ""
78+
redisSSLCertReqs: required
79+
redisSSLCACerts: ""

0 commit comments

Comments
 (0)