ConnectorRest
ConnectorRest
ConnectorRest(host='localhost', port=None, user='', password='', token='', use_ssl=True, ca_cert=None, verify_hostname=True, shared_data=None, config: Optional[Configuration] = None, key: Optional[str] = None)
Bases: Connector
Class to use ApertureDB's REST interface
This class is used to connect to ApertureDB using the REST interface.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
host | str | Address of the host to connect to. | 'localhost' |
port | int | Port to connect to. | None |
user | str | Username to specify while establishing a connection. | '' |
password | str | Password to specify while connecting to ApertureDB. | '' |
token | str | Token to use while connecting to the database. | '' |
use_ssl | bool | Use SSL to encrypt communication with the database. | True |
key | str | Aperture Key, configuration as a deflated compressed string | None |