# salt.sdb.redis_sdb

## Redis SDB module

> Added in version 2019.2.0.

This module allows access to Redis using an `sdb://` URI.

Like all SDB modules, the Redis module requires a configuration profile to be configured in either the minion or master configuration file. This profile requires very little. For example:

    sdb_redis:
      driver: redis
      host: 127.0.0.1
      port: 6379
      password: pass
      db: 1

The `driver` refers to the Redis module, all other options are optional. For option details see: https://redis-py.readthedocs.io/en/latest/.

salt.sdb.redis_sdb.delete(key, profile=None)

  Delete a key from the Redis SDB.

salt.sdb.redis_sdb.get(key, profile=None)

  Get a value from the Redis SDB.

salt.sdb.redis_sdb.set_(key, value, profile=None)

  Set a value into the Redis SDB.