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 |
-ue, –upload-plugin |
This flag instructs dxac to upload the Driver support plugin under the |
-e, --env-vars |
Please use this option to provide environment variables |
-uc, –upload-cert |
This flag instructs dxac to upload the SSL cert chain pem file under the |
-uo, –upload-settings |
This flag instructs dxac to upload the |
-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 |
-t, –protocol |
TCP Protocol used to connect to the Delphix Masking engine. |
-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. |
-xl, –proxy_url |
Proxy URL to connect to the Delphix Masking engine. |
-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:
-
Delphix engine password.
-
OAuth Client Id.
-
Oauth Client Secret.
For Basic Auth Type:
-
Delphix engine password.
-
Sandbox password.
-
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.