To configure the driver to use URL parameter (API key) authentication:

  • Set the Host Name (HostName) option to the base URL of the base URL of the Aha! service to which you want to issue requests. For example, company.aha.io.
  • Set the Authentication Method (AuthenticationMethod) option to 14 (URLParameter).
  • Set the Security Token (SecurityToken) option to specify the API key required to make a connection to your endpoint. API keys can be generated through the Aha! user interface. Refer to the Aha! documentation for more information.

  • Optionally, specify values for any additional properties you want to configure.

The following examples show the connection information required to establish a session using URL parameter (API key) authentication.

Connection string

DRIVER=DataDirect 8.0 Aha;HostName=mycompany.aha.io;AuthenticationMethod=14;
SecurityToken=1234abc5d6789efg;

odbc.ini

[Aha]
Driver=ODBCHOME/lib/ivaha28.so
Description=DataDirect 8.0 Aha!
...
AuthenticationMethod=14
...
SecurityToken=1234abc5d6789efg
...
HostName=mycompany.aha.io
...