# Validate java path for the remote host machine.

Endpoint: POST /management/engines/{engineId}/validate/java-path
Version: 3.18.0
Security: ApiKeyAuth

## Security:

  - `ApiKeyAuth` (unknown)
    apiKey in header Authorization

## Path parameters:

  - `engineId` (string, required)
    The ID of the registered engine.

## Request body:

  - `application/json` (unknown)
    The api to check connectivity of engine and a remote host on given port.

## Request fields (application/json):

  - `java_home` (string, required)
    Path pointing to java home on the remote machine.
    Example: home/jdk/

  - `port` (integer, required)
    SSH port of the remote host machine that will be used to establish SSH connection.
    Example: 22

  - `username` (string)
    The username of the user that will be used to connect to the remote host machine.
    Example: username

  - `password` (string)
    The password of the user that will be used to connect to the remote host machine.
    Example: password

  - `host_name` (string, required)
    Hostname of the remote host machine that will be used to establish connection.
    Example: test.host.com

  - `use_engine_public_key` (boolean)
    Whether to use public key authentication.
    Example: true

  - `vault_id` (string)
    The DCT id or name of the vault from which to read the host credentials.
    Example: my-vault

  - `hashicorp_vault_engine` (string)
    Vault engine name where the credential is stored.
    Example: kv

  - `hashicorp_vault_secret_path` (string)
    Path in the vault engine where the credential is stored.
    Example: oracle-env

  - `hashicorp_vault_username_key` (string)
    Key for the username in the key-value store.
    Example: username

  - `hashicorp_vault_secret_key` (string)
    Key for the password in the key-value store.
    Example: secret

  - `azure_vault_name` (string)
    Azure key vault name (ORACLE, ASE and MSSQL_DOMAIN_USER only).
    Example: azure_vault

  - `azure_vault_username_key` (string)
    Azure vault key for the username in the key-value store (ORACLE, ASE and MSSQL_DOMAIN_USER only).
    Example: username

  - `azure_vault_secret_key` (string)
    Azure vault key for the password in the key-value store (ORACLE, ASE and MSSQL_DOMAIN_USER only).
    Example: secret

  - `cyberark_vault_query_string` (string)
    Query to find a credential in the CyberArk vault.
    Example: Safe=Test;Folder=Test;Object=Test

  - `use_kerberos_authentication` (boolean)
    Whether to use kerberos authentication.
    Example: true

## Response 200:

  - `200` (unknown)
    OK

