code: def set_key(self, key):
          
          is_non_empty_string(key)
  
          self.policies.append(('eq', '$key', key))
          self.form_data['key'] = key
          self.key = key
docs: Set key policy condition.
  
          :param key: set key name.