From fabd693b2d63ba44811108cc5354d7693d4fbf00 Mon Sep 17 00:00:00 2001 From: Rogerio Moura Date: Thu, 16 Oct 2025 12:17:52 -0300 Subject: [PATCH] refactor: remove Redis authentication parameters from connection configurations --- quickstart/databases/redis.mdx | 18 ------------------ store/connections.json | 18 ------------------ store/connections/redis.yml | 12 +----------- 3 files changed, 1 insertion(+), 47 deletions(-) diff --git a/quickstart/databases/redis.mdx b/quickstart/databases/redis.mdx index 8fb501d..cdbf33b 100644 --- a/quickstart/databases/redis.mdx +++ b/quickstart/databases/redis.mdx @@ -62,10 +62,6 @@ import { ConnectionTemplate } from '/snippets/connection-template.jsx'; "$HOST", "-p", "$PORT", - "--user", - "$USER", - "-a", - "$PASSWORD", "-n", "$DB_NUMBER" ], @@ -84,20 +80,6 @@ import { ConnectionTemplate } from '/snippets/connection-template.jsx'; "description": "The port of the Redis server", "placeholder": "6379" }, - { - "name": "USER", - "type": "env-var", - "required": true, - "description": "The username for Redis authentication (Redis 6.0+)", - "placeholder": "default" - }, - { - "name": "PASSWORD", - "type": "env-var", - "required": true, - "description": "The password for Redis authentication", - "placeholder": "password" - }, { "name": "DB_NUMBER", "type": "env-var", diff --git a/store/connections.json b/store/connections.json index b500763..0ef7bce 100644 --- a/store/connections.json +++ b/store/connections.json @@ -1714,10 +1714,6 @@ "$HOST", "-p", "$PORT", - "--user", - "$USER", - "-a", - "$PASSWORD", "-n", "$DB_NUMBER" ], @@ -1736,20 +1732,6 @@ "description": "The port of the Redis server", "placeholder": "6379" }, - { - "name": "USER", - "type": "env-var", - "required": true, - "description": "The username for Redis authentication (Redis 6.0+)", - "placeholder": "default" - }, - { - "name": "PASSWORD", - "type": "env-var", - "required": true, - "description": "The password for Redis authentication", - "placeholder": "password" - }, { "name": "DB_NUMBER", "type": "env-var", diff --git a/store/connections/redis.yml b/store/connections/redis.yml index 4568b59..f94f5d2 100644 --- a/store/connections/redis.yml +++ b/store/connections/redis.yml @@ -41,7 +41,7 @@ setupGuide: resourceConfiguration: type: custom subtype: redis - command: [redis-cli, -h, $HOST, -p, $PORT, --user, $USER, -a, $PASSWORD, -n, $DB_NUMBER] + command: [redis-cli, -h, $HOST, -p, $PORT, -n, $DB_NUMBER] credentials: - name: HOST type: env-var @@ -53,16 +53,6 @@ resourceConfiguration: required: true description: The port of the Redis server placeholder: "6379" - - name: USER - type: env-var - required: true - description: The username for Redis authentication (Redis 6.0+) - placeholder: default - - name: PASSWORD - type: env-var - required: true - description: The password for Redis authentication - placeholder: password - name: DB_NUMBER type: env-var required: true