Deploy (SAP Compliance accelerator)

The deploy command deploys the masking metadata from the resource directory to a target Delphix Continuous Compliance Engine.

Usage

The deploy command has the following pattern:

  • dxac: The main cli name.

  • deploy: Indicates that you are deploying masking metadata into an engine.

  • parameters: Required and optional parameters for the sub-command.

./dxac deploy <app-name>  <db-name> -option <value>

Parameters

The deploy command has the following parameters.

Required parameters are tagged with an *

Parameter 

Description

-u, --username TEXT 

Delphix Continuous Compliance Engine username.

[Hint: Use masking admin user]

-i, --ip TEXT

IP or FQDN of the target Delphix Continuous Compliance Engine.

-t, --protocol [http|https]

Protocol used to connect to Delphix Continuous Compliance Engine.

(default: https)

-o, --port INTEGER

Port used by Delphix Continuous Compliance Engine.

(default: 443)

-xl, --proxy-url TEXT

Proxy URL to connect to Delphix Continuous Compliance Engine.

ex: http://<proxy>:3128

-xu, --proxy-user TEXT

Username for the Proxy.

-xp, --proxy-password TEXT

Password for the Proxy.

-ud, --upload-driver

Use this option to upload a JDBC driver to the engine.

To use this option, 

  • copy driver zip file to resource/jdbc_driver folder

  • provide driver information in dxac_user.config file

-ue, --upload-plugin

Use this option to upload the driver support plugin to the engine.

To use this option, 

  • copy plugin jar file to resource/plugin folder

  • provide driver information in dxac_user.config file

-U, --db-user TEXT

Database username

-e, --env-vars

Please use this option to provide environment variables containing passwords to be used by Accelerator. It contains the list of Password's stored as environment variables separated by comma.

Accelerator(dxac) will be exracting the actual values from these environment variables. If you are running accelerator for SAP, the order of required credentials will be Delphix engine password, database password. These can be passed as DXAC_ENGINE_PASSWORD,DXAC_DATABASE_PASSWORD. Please note that user can select any other environment variable name to pass these values as well but the sequence of variables can not be changed.

--help

Show this message and exit

How to pass Password to deploy command:

Required password values for SAP Accelerator are:

  • Delphix engine password

  • Database passwords

Delphix engine and database passwords are passed only using the environment variables. For instructions on how to set environment variables over the various platforms supported by Accelerator (dxac) see this page: How to set up environment variables

You will need to set the value of the environment variables and pass it to the dxac deploy command with the -e option as illustrated in this example:

Deploy to a Delphix Continuous Compliance Engine

./dxac deploy sap <hana/oracle> -i <engine_ip> -u <Engine user> -U <Database user> -e "dxac_engine_password,dxac_database_password"

Note, you can use different names for the environment variables, however, the sequence in which the environment variables are passed should be kept the same.