Kaholo plugin for integration with Redis DB.
Settings
- Redis Connection URL (Vault) Required if not provided in method parameters – The URL to use to connect to Redis on default. The format of the URL should be redis://[[user]:password@]host[:port][/db-number][?option=value]. For example redis://:SecretPass1234@127.0.0.1:6379.
Method: Get
Get the values of the specified keys from the connected Redis server.
Parameters
- Redis Connection URL (Vault) Required if not in settings – The URL to use to connect to Redis. The format of the URL should be redis://[[user]:password@]host[:port][/db-number][?option=value]. For example redis://:SecretPass1234@127.0.0.1:6379.
- Keys (Text) Required – Keys to return the value of. Separate each key with a new line. Also accepts an array from code.
Method: Set
Set the value of the specified key using the specified value, on the connected Redis server.
Parameters
- Redis Connection URL (Vault) Required if not in settings – The URL to use to connect to Redis. The format of the URL should be redis://[[user]:password@]host[:port][/db-number][?option=value]. For example redis://:SecretPass1234@127.0.0.1:6379.
- Key (String) Required – The key to set it’s value.
- Value (String) Optional – The value to set to the key. Also accepts any kind of value from code. If not specified will use the empty string “” as the default value.