'Given the array record set the rest server credentials.
:param array_info: record'

def set_rest_credentials(self, array_info):

    ip = array_info['RestServerIp']
    port = array_info['RestServerPort']
    self.user = array_info['RestUserName']
    self.passwd = array_info['RestPassword']
    self.cert = array_info['SSLCert']
    verify = array_info['SSLVerify']
    if (verify and (verify.lower() == 'false')):
        verify = False
    self.verify = verify
    ip_port = ('%(ip)s:%(port)s' % {'ip': ip, 'port': port})
    self.base_uri = ('https://%(ip_port)s/univmax/restapi' % {'ip_port': ip_port})
    self.session = self._establish_rest_session()
