Connection Strings

Configuring Service Locations.

Connection Strings are widely used across many of the modules, generally added through the Web Application Management console. The bases cli alows you to add as many as you need, and they will be added to the module's XML configuration file after the installation is complete and encrypted in the same manner that the WAMCON would. Most of these fields should look familiar if you've ever had to manually update connection strings in a configuration file.

Parameters

PropertyTypeDescription
ConnectionNamestringFor more information, consult your module's documentation.
DataSourcestringFor more information, consult your module's documentation.
DatabasestringFor more information, consult your module's documentation.
UseIntegratedSecurityboolFor more information, consult your module's documentation.
CredentialsCredentialsSee more information on Credentials.
EncryptstringAccepts Manditory, Strict, or Optional. This property should only be used in versions 24+. If you are not on 24, remove the whole line from the configuration file.
ProviderTypestringWhen supplying the value, periods should be replaced with underscores. For more information on what values are accepted, consult your module's documentation.
AdditionalArgumentsstringUsed in the same way the WAMCON does, to add additional arguments to the connection string. For more information on what values are accepted, consult your module's documentation.
- ConnectionName: OnBase
  Datasource: .\
  Database: OnBase
  UseIntegratedSecurity: false
  Credentials:
    Username: hsi
    CredentialType: Database
    BasesKey: V3mVrGIJqY8dC8q3OnOvCQ==
  Encrypt: Optional
  ProviderType: System_Data_SqlClient
  AdditionalArguments: ''