Skip to content

Tests the validity of the supplied database credentials, returning an error if unable to connect to the database.

Request

Security
ApiKeyAuth
Bodyapplication/jsonrequired
credentials_typestringrequired

The type of credentials.

Enum:"MSSQL_ENVIRONMENT_USER""MSSQL_DOMAIN_USER""MSSQL_DATABASE_USER""ORACLE""ASE""SOURCE_CONFIG"
source_idstringrequired

Source database config Id.

Example:"1-SOURCE-CONFIG-1"
usernamestring

Database username (Not applicable for MSSQL_ENVIRONMENT_USER).

Example:"username"
passwordstring

Database password (Not applicable for MSSQL_ENVIRONMENT_USER and mutually exclusive with vault attributes).

Example:"password"
vaultstring, [ 1 .. 256 ] characters

The name or reference of the vault from which to read the database credentials (ORACLE, ASE and MSSQL_DOMAIN_USER only).

Example:"my-vault"
hashicorp_vault_enginestring, [ 1 .. 256 ] characters

Vault engine name where the credential is stored (ORACLE, ASE and MSSQL_DOMAIN_USER only).

Example:"kv"
hashicorp_vault_secret_pathstring, [ 1 .. 256 ] characters

Path in the vault engine where the credential is stored (ORACLE, ASE and MSSQL_DOMAIN_USER only).

Example:"oracle-env"
hashicorp_vault_username_keystring, [ 1 .. 256 ] characters

Hashicorp vault key for the username in the key-value store (ORACLE, ASE and MSSQL_DOMAIN_USER only).

Example:"username"
hashicorp_vault_secret_keystring, [ 1 .. 256 ] characters

Hashicorp vault key for the password in the key-value store (ORACLE, ASE and MSSQL_DOMAIN_USER only).

Example:"secret"
azure_vault_namestring, [ 1 .. 256 ] characters

Azure key vault name (ORACLE, ASE and MSSQL_DOMAIN_USER only).

Example:"azure_vault"
azure_vault_username_keystring, [ 1 .. 256 ] characters

Azure vault key for the username in the key-value store (ORACLE, ASE and MSSQL_DOMAIN_USER only).

Example:"username"
azure_vault_secret_keystring, [ 1 .. 256 ] characters

Azure vault key for the password in the key-value store (ORACLE, ASE and MSSQL_DOMAIN_USER only).

Example:"secret"
cyberark_vault_query_stringstring, [ 1 .. 256 ] characters

Query to find a credential in the CyberArk vault (ORACLE, ASE and MSSQL_DOMAIN_USER only).

Example:"Safe=Test;Folder=Test;Object=Test"
environment_idstring, [ 1 .. 256 ] characters

Id of the environment to which environment user belongs (MSSQL_ENVIRONMENT_USER only).

environment_userstring, [ 1 .. 256 ] characters

Reference to the environment user (MSSQL_ENVIRONMENT_USER only).

curl -i -X POST \
  https://help-api.delphix.com/_mock/data-control-tower/continuous-data/2026.2.0.0/continuous-data-apis-dct-2026.2.0.0/database/connectivity/check \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'Content-Type: application/json' \
  -d '{
    "credentials_type": "MSSQL_ENVIRONMENT_USER",
    "source_id": "1-SOURCE-CONFIG-1",
    "username": "username",
    "password": "password",
    "vault": "my-vault",
    "hashicorp_vault_engine": "kv",
    "hashicorp_vault_secret_path": "oracle-env",
    "hashicorp_vault_username_key": "username",
    "hashicorp_vault_secret_key": "secret",
    "azure_vault_name": "azure_vault",
    "azure_vault_username_key": "username",
    "azure_vault_secret_key": "secret",
    "cyberark_vault_query_string": "Safe=Test;Folder=Test;Object=Test",
    "environment_id": "string",
    "environment_user": "string"
  }'

Responses

Success

Bodyapplication/json
messagestringrequired

A message describing the result of the connectivity check.

Example:"Success!"
statusstring

A status describing the status of the connectivity check.

Enum:"SUCCESS""FAILED"
Example:"SUCCESS"
Response
{ "message": "Success!", "status": "SUCCESS" }