Skip to content

Create an environment.

Request

Security
ApiKeyAuth
Bodyapplication/jsonrequired

The parameters to create an environment.

namestring, [ 1 .. 256 ] characters

The name of the environment.

Example:"oracle-environment"
engine_idstringrequired

The ID of the Engine onto which to create the environment.

Example:"12"
os_namestringrequired

Operating system type of the environment.

Enum:"UNIX""WINDOWS"
Example:"UNIX"
is_clusterboolean

Whether the environment to be created is a cluster.

Default:false
Example:true
cluster_homestring, [ 1 .. 256 ] characters

Absolute path to cluster home drectory. This parameter is mandatory for UNIX cluster environments.

Example:"/u01/app/19.0.0.0/grid"
hostnamestring, [ 1 .. 256 ] charactersrequired

host address of the machine.

Example:"db.host.com"
staging_environmentstring, [ 1 .. 256 ] characters

Id of the connector environment which is used to connect to this source environment. This is mandatory parameter when creating Windows source environments.

Example:"1-WINDOWS_HOST-1"
connector_portinteger, (int32), [ 1 .. 65535 ]

Specify port on which Delphix connector will run. This is mandatory parameter when creating Windows target environments.

Example:9100
connector_authentication_keystring

Unique per Delphix key used to authenticate with the remote Delphix Connector.

Example:"secret"
is_targetboolean

Whether the environment to be created is a target cluster environment. This property is used only when creating Windows cluster environments.

Example:true
ssh_portinteger, (int64), [ 1 .. 65535 ]

ssh port of the host.

Default:22
Example:22
toolkit_pathstring, [ 1 .. 256 ] characters

The path for the toolkit that resides on the host.

Example:"/work"
usernamestring, [ 1 .. 256 ] characters

Username of the OS.

Example:"oracle"
passwordstring, [ 1 .. 256 ] characters

Password of the OS.

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

The name or reference of the vault from which to read the host credentials.

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

Delphix display name for the vault user

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

Vault engine name where the credential is stored.

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

Path in the vault engine where the credential is stored.

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

Key for the username in the key-value store.

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

Key for the password in the key-value store.

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

Query to find a credential in the CyberArk vault.

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

Azure key vault name.

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

Azure vault key for the username in the key-value store.

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

Azure vault key for the password in the key-value store.

Example:"secret"
use_kerberos_authenticationboolean

Whether to use kerberos authentication.

Example:true
use_engine_public_keyboolean

Whether to use public key authentication.

Example:true
use_custom_key_pairboolean

Whether to use custom private and public key pair for authentication.

Example:true
custom_private_keystring, [ 1 .. 6000 ] characters

Private key to be used for authentication

custom_public_keystring, [ 1 .. 6000 ] characters

Public key to be used for authentication

nfs_addressesArray of strings

array of ip address or hostnames

Example:
[ "192.168.10.2" ]
ase_db_vault_usernamestring, [ 1 .. 256 ] characters

Delphix display name for the vault user

Example:"user-123"
ase_db_usernamestring, [ 1 .. 256 ] characters

username of the SAP ASE database.

Example:"user-123"
ase_db_passwordstring, [ 1 .. 256 ] characters

password of the SAP ASE database.

Example:"test"
ase_enable_tlsboolean

True if you want to discover the SAP ASE instances configured with TLS/SSL.

Example:true
ase_skip_server_certificate_validationboolean

Only valid for SAP ASE. Setting it to true will skip the server certificate validation during the SSL handshake. Only set it if you do not want to add the required certificate into the Delphix Engine truststore but still want to use the TLS/SSL-enabled database connection. This is not recommended for a production environment as it is less secure.

Example:true
ase_db_vaultstring, [ 1 .. 256 ] characters

The name or reference of the vault from which to read the ASE database credentials.

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

Vault engine name where the credential is stored.

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

Path in the vault engine where the credential is stored.

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

Key for the username in the key-value store.

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

Key for the password in the key-value store.

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

Query to find a credential in the CyberArk vault.

Example:"Safe=Test;Folder=Test;Object=Test"
ase_db_use_kerberos_authenticationboolean

Whether to use kerberos authentication for ASE DB discovery.

Example:true
ase_db_azure_vault_namestring, [ 1 .. 256 ] characters

Azure key vault name.

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

Azure vault key for the username in the key-value store.

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

Azure vault key for the password in the key-value store.

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

The path to the user managed Java Development Kit (JDK). If not specified, then the OpenJDK will be used.

Example:"/Library/Java/JavaVirtualMachines/jdk/Contents/Home"
dsp_keystore_pathstring, [ 1 .. 256 ] characters

DSP keystore path.

Example:"/tmp/keystore.keystore"
dsp_keystore_passwordstring, [ 1 .. 256 ] characters

DSP keystore password.

Example:"temp123"
dsp_keystore_aliasstring, [ 1 .. 256 ] characters

DSP keystore alias.

Example:"oracle-src"
dsp_truststore_pathstring, [ 1 .. 256 ] characters

DSP truststore path.

Example:"/tmp/truststore.keystore"
dsp_truststore_passwordstring, [ 1 .. 256 ] characters

DSP truststore password.

Example:"truststore123"
descriptionstring, [ 1 .. 1024 ] characters

The environment description.

Example:"Unix Orcale source host"
tagsArray of objects, [ 1 .. 1000 ] items(Tag)

The tags to be created for this environment.

make_current_account_ownerboolean

Whether the account creating this environment must be configured as owner of the environment.

Default:true

The request example is intended for creating Unix standalone environments.

curl -i -X POST \
  https://help-api.delphix.com/_mock/data-control-tower/continuous-data/2026.3.0.0/continuous-data-apis-dct-2026.3.0.0/environments \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'Content-Type: application/json' \
  -d '{
    "name": "oracle-environment",
    "engine_id": "1",
    "os_name": "UNIX",
    "hostname": "db.host.com",
    "ssh_port": 22,
    "toolkit_path": "/work",
    "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": "password",
    "cyberark_vault_query_string": "Safe=Test;Folder=Test;Object=Test",
    "azure_vault_name": "azure_vault",
    "azure_vault_username_key": "username",
    "azure_vault_secret_key": "secret",
    "use_kerberos_authentication": true,
    "use_engine_public_key": true,
    "nfs_addresses": [
      "192.168.10.2"
    ],
    "ase_db_username": "user-123",
    "ase_db_password": "test",
    "ase_db_vault": "my-vault",
    "ase_db_hashicorp_vault_engine": "kv",
    "ase_db_hashicorp_vault_secret_path": "ase-env",
    "ase_db_hashicorp_vault_username_key": "username",
    "ase_db_hashicorp_vault_secret_key": "password",
    "ase_db_cyberark_vault_query_string": "Safe=Test;Folder=Test;Object=Test",
    "ase_db_azure_vault_name": "azure_vault",
    "ase_db_azure_vault_username_key": "username",
    "ase_db_azure_vault_secret_key": "secret",
    "ase_db_use_kerberos_authentication": true,
    "java_home": "/Library/Java/JavaVirtualMachines/jdk/Contents/Home",
    "dsp_keystore_path": "/tmp/keystore.keystore",
    "dsp_keystore_password": "temp123",
    "dsp_keystore_alias": "oracle-env",
    "dsp_truststore_path": "/tmp/truststore.keystore",
    "dsp_truststore_password": "truststore123",
    "description": "Unix Oracle source host",
    "tags": [
      {
        "key": "key-1",
        "value": "value-1"
      },
      {
        "key": "key-2",
        "value": "value-2"
      }
    ]
  }'

Responses

Environment creation initiated

Bodyapplication/json
jobobject(Job)
environment_idstring

The id of environment created.

Example:"host-environment-1"
Response
{ "job": { "id": "job-123", "status": "RUNNING", "is_waiting_for_telemetry": true, "type": "DB_REFRESH", "localized_type": "DB Refresh", "error_details": "Unable to connect to the engine.", "warning_message": "Failed to remove local MaskingJob, engineId: 3 localMaskingJobId: 7.", "target_id": "vdb-123", "target_name": "vdb", "start_time": "2022-01-02T05:11:24.148000+00:00", "update_time": "2022-01-02T06:11:24.148000+00:00", "trace_id": "string", "engine_ids": [ … ], "tags": [ … ], "engines": [ … ], "account_id": 1, "account_name": "User 1", "compliance_node_id": "string", "compliance_node_name": "string", "percent_complete": "50", "virtualization_tasks": [ … ], "tasks": [ … ], "execution_id": "string", "result_type": "string", "result": {}, "job": { … }, "class_type": "DeleteDSourceResponse" }, "environment_id": "host-environment-1" }