Deploy (Salesforce-Compliance accelerator)

The deploy command is used to deploy 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

Delphix Masking Admin user.

*-i, –ip

IP or FQDN of the Delphix Masking engine.

-U, –db-user

Salesforce username.

-ud, –upload-driver

This flag instructs dxac to upload the JDBC driver under the resource/jdbc_driver directory.

-ue, –upload-plugin

This flag instructs dxac to upload the Driver support plugin under the resource/plugin directory.

-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 ENGINE PASSWORD,
DATABASE PASSWORD, SECURITY TOKEN. 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.
If you are running accelerator for Salesforce with auth type BASIC,the order of required credentials will beENGINE PASSWORD,DATABASE PASSWORD
If you are using auth type as OAUTH,the order
of required credentials will be ENGINE PASSWORD,
OAUTHCLIENTID, OAUTHCLIENTSECRET
These can be passed as
DXAC_OAUTHCLIENT_ID, DXAC_OAUTHCLIENT_SECRET.
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.

-uc, –upload-cert

This flag instructs dxac to upload the SSL cert chain pem file under the resource/certs directory.

-uo, –upload-settings

This flag instructs dxac to upload the OAuth2Settings.txt file under the resource/connector directory.

-a, –auth-type

Auth type to be specified to dxac. It can take values in [‘basic’, ‘oauth2’]

-ue, –upload-plugin

This flag instructs dxac to upload the Driver support plugin under the resource/plugin directory.

-t, –protocol

TCP Protocol used to connect to the Delphix Masking engine.
Default: http
Possible values [ http, https ]

-o, –port

Port used to connect to the Delphix Masking engine. Firewall may need to be open for the dxac host to connect to the Delphix Masking engine over this port.
Default: 80

-xl, –proxy_url

Proxy URL to connect to the Delphix Masking engine.
Example: http://proxy:3128

-xu, –proxy-user

Username for proxy-url.Required if proxy-url is provided.

-xu, –proxy-user

Username for proxy-url.Required if proxy-url is provided.

-xp, –proxy-password

Password for proxy-url.Required if proxy-url is provided.

How to pass Password to deploy command:

Required password values for Salesforce Accelerator are:

For OAuth Auth Type:

  1. Delphix engine password.

  2. OAuth Client Id.

  3. Oauth Client Secret.

For Basic Auth Type:

  1. Delphix engine password.

  2. Sandbox password.

  3. Security Token

Please refer here to see how we can set the environment variables over different platforms supported by Accelerator(dxac). User needs to set the value of these environment variables and pass it to the dxac deploy command with the -e option as can be seen below:

Deploy to the Delphix Continuous Compliance Engine

./dxac deploy salesforce -i <engine-name> -u <engine user> -U <database user> -e "DXAC_ENGINE_PASSWORD, DXAC_SANNBOX_PASSWORD,DX_SECURITY_TOKEN"

Please Note that user can use different name for the environment variables, however the sequence in which the environment variables are passed should be kept the same.