Skip to content

Create a repository.

Request

Security
ApiKeyAuth
Path
environmentIdstring, non-emptyrequired

The ID of the environment.

Bodyapplication/jsonrequired
db_vault_usernamestring, [ 1 .. 256 ] characters

Delphix display name for the vault user.

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

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

Example:"vault1"
db_hashicorp_vault_enginestring, [ 1 .. 256 ] characters

Vault engine name where the credential is stored.

Example:"key-vault/vault-secrets"
db_hashicorp_vault_secret_pathstring, [ 1 .. 256 ] characters

Path in the vault engine where the credential is stored.

Example:"ase-db-cred"
db_hashicorp_vault_username_keystring, [ 1 .. 256 ] characters

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

Example:"user"
db_hashicorp_vault_secret_keystring, [ 1 .. 256 ] characters

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

Example:"upword"
db_azure_vault_namestring, [ 1 .. 256 ] characters

Azure key vault name.

Example:"azure-keyvault"
db_azure_vault_username_keystring, [ 1 .. 256 ] characters

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

Example:"ase-db-cred-sa-user"
db_azure_vault_secret_keystring, [ 1 .. 256 ] characters

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

Example:"ase-db-cred-sa-password"
db_cyberark_vault_query_stringstring, [ 1 .. 256 ] characters

Query to find a credential in the CyberArk vault.

Example:"Safe=Test;Object=ase-db-cred"
database_typestringrequired

The database type of this repository.

Enum:"ORACLE""MSSQL""ASE"
bitsinteger

32 or 64 bits.

Enum:3264
installation_homestring, [ 1 .. 300 ] characters

The Oracle install or SQL Server instance home.

versionstring

Version of the oracle repository or SQL Server instance.

oracle_basestring, <= 256 characters

The Oracle base where database binaries are located.

allow_provisioningboolean

Flag indicating whether the repository should be used for provisioning.

Default:true
is_stagingboolean

Flag indicating whether this repository can be used by the Delphix Engine for internal processing.

Default:false
applied_patchesArray of integers, (int64)

List of Oracle patches that have been applied to this Oracle Home.

full_text_installedboolean

This property determines if the full-text search and semantic search is installed or not (MSSql only).

server_namestring, <= 128 characters

The Server Name of the SQL Server instance.

portinteger, (int64)

The network port for connecting to the SQL Server instance.

instance_ownerstring, [ 1 .. 255 ] characters

Account the SQL Server instance is running as.

instance_namestring, [ 1 .. 256 ] characters

The name of the SQL Server instance.

installation_pathstring, [ 1 .. 300 ] characters

The SAP ASE instance home.

dump_history_filestring

Fully qualified name of the dump history file.

database_usernamestring, [ 1 .. 256 ] characters

The username of the ASE instance database.

Example:"sybase"
database_passwordstring, [ 1 .. 256 ] characters

The credentials of the ASE instance database user.

Example:"sybase"
service_principal_namestring

The Kerberos Service Principal Name (SPN) of the database.

isql_pathstring

The path to the isql binary to use for this SAP ASE instance.

The request example is intended for creating a oracle repository.

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/{environmentId}/repository' \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'Content-Type: application/json' \
  -d '{
    "database_type": "ORACLE",
    "bits": 32,
    "installation_home": "/u01/app/oracle/product/18.0.0.0/dbhome_1",
    "version": "18.3.0.0.0"
  }'

Responses

Repository creation initiated

Bodyapplication/json
jobobject(Job)
repository_idstring

The id of the created repository.

Example:"1-ORACLE_INSTALL-15"
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" }, "repository_id": "1-ORACLE_INSTALL-15" }