DSNs are similar to URLs, and are used to describe where AWTS modules are hosted and can be connected to, they have two, three or four parts, of the form [key@]host[:port[:tls]]
.
Using the Configurator to generate an environment configuration will provide you with the correct DSNs to use to access your installation, as well as correctly configuring all your selected AWTS modules to be able to communicate with each other.
The TLS portion can be tls
, tlsi
or none
, which means:
For plaintext connections, H2C is supported by all AWTS modules for HTTP/2 and gRPC support.
localhost:35000
- connect to port 35000 on localhost with a plaintext connectionawtsserver:443
- connect to the server with hostname awtsserver
on port 443, with TLS enabledXXXX@awtsserver:1234:tlsi
- connect to the server with hostname awtsserver
on port 1234, with TLS enabled (but no certificate validation; self-signed certs are ok), and use API key XXXX