code: def get_key(key, host=None, port=None, db=None, password=None):
      '''
      Get redis key value
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' redis.get_key foo
      '''
      server = _connect(host, port, db, password)
      return server.get(keyf get_key(key, host=None, port=None, db=None, password=None):
      '''
      Get redis key value
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' redis.get_key foo
      '''
      server = _connect(host, port, db, password)
      return server.get(key)
docs: Get redis key value
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' redis.get_key foo