Client application configuration
You can register custom client applications by creating an IAP Application Protocol Configuration (IAPC) file. An IAPC file defines the following:
- The name of the client application
- The VM instances that the client application applies to
- The executable to launch (optional)
IAPC are JSON files that use the .iapc
file extension. During startup, IAP Desktop loads all
IAPC files in the %appdata%\Google\IAP Desktop\Config
folder.
The following code snippet shows an example file for the MySQL shell:
{
"version": 1,
"name": "MySQL Shell 8.0",
"condition": "isInstance()",
"remotePort": "3306",
"client": {
"executable": "%ProgramW6432%\\MySQL\\MySQL Shell 8.0\\bin\\mysqlsh.exe",
"arguments": "-h {host} -P {port} -u \"{username}\""
}
}
Field | Synopsis | Required |
---|---|---|
version |
File format version, must be 1 . |
Required |
name |
Name of the application as shown in the user interface. | Required |
condition |
Condition that defines which VM instances this client applies to.
|
Optional |
executable |
Executable to be launched. This can be one of:
\\ ).
|
Optional |
arguments |
Command line arguments for the client executable. The value can contain environment variables
such as %AppData% or %USERPROFILE% .
Additionally, the command line arguments can contain the following special variables:
|
Optional |