What are the steps to run an encrypted DBscript on the vault?

What are the steps to run an encrypted DBscript on the vault?

83
Created On 11/10/26 11:01 AM - Last Modified 11/10/26 13:00 PM


Question


What are the steps to run an encrypted DBscript on the vault?

Environment


10.10;11.5;11.6;11.7;12.0;12.2;12.6;13.0;14.6 Privileged Access Manager (PAM, self-hosted) Vault Server;Vault

Answer


1. Copy the <script file> to the Vault's Server folder.  A sample script file could have the ENC file extension; for example, GetObjectsPerSafe.enc.
2. On the Vault machine, run the following command:
CAVaultManager.exe ExecuteDBScript /Password <script password> /InputFilePath <Script full path> /OutputFilePath <Script output log full path>
3. Delete the <script file> from the Vault installation folder.
4. Send the encrypted log file to Cyber-Ark representative.

/* Sample 1 */
C:\Program Files\PrivateArk\Server>CAVaultManager.exe ExecuteDBScript /Password MyP@5s /InputFilePath "C:\Program Files\PrivateArk\Server\GetVaultInfo.enc" /OutputFilePath C:\MyOutput.out
ITADB399I Using encryption algorithms: Advanced Encryption Standard (AES), 256 bit, RSA (2048 bit), SHA1.
ITADM114I Successfully connected to Database, Database id 0.
ITAWM001I PrivateArk Server files are protected.
CAVLT113I Completed successfully. Generated output file C:\MyOutput.out.

/* Sample 2 */
C:\Program Files\PrivateArk\Server>CAVaultManager.exe ExecuteDBScript
Password for file decryption ==> ********
Encrypted input script file path [mandatory] ==> C:\Program Files\PrivateArk\Server\GetVaultInfo.enc
Output results file path [mandatory] ==> C:\Program Files\PrivateArk\Server\GetVaultInfo.out
ITADB399I Using encryption algorithms: Advanced Encryption Standard (AES), 256 bit, RSA (2048 bit), SHA1.
ITADM114I Successfully connected to Database, Database id 0.
ITAWM001I PrivateArk Server files are protected.
CAVLT113I Completed successfully. Generated output file C:\Program Files\PrivateArk\Server\GetVaultInfo.out.


Additional Information


Details

Q:
 

What are the steps to run an encrypted DBscript on the vault?

 

A:
 

1. Copy the <script file> to the Vault's Server folder.  A sample script file could have the ENC file extension; for example, GetObjectsPerSafe.enc.


2. On the Vault machine, run the following command:

CAVaultManager.exe ExecuteDBScript /Password <script password> /InputFilePath <Script full path> /OutputFilePath <Script output log full path>


3. Delete the <script file> from the Vault installation folder.

4. Send the encrypted log file to Cyber-Ark representative.


/* Sample 1 */

 

C:\Program Files\PrivateArk\Server>CAVaultManager.exe ExecuteDBScript /Password MyP@5s /InputFilePath "C:\Program Files\PrivateArk\Server\GetVaultInfo.enc" /OutputFilePath C:\MyOutput.out
ITADB399I Using encryption algorithms: Advanced Encryption Standard (AES), 256 bit, RSA (2048 bit), SHA1.
ITADM114I Successfully connected to Database, Database id 0.
ITAWM001I PrivateArk Server files are protected.
CAVLT113I Completed successfully. Generated output file C:\MyOutput.out.


/* Sample 2 */
 

C:\Program Files\PrivateArk\Server>CAVaultManager.exe ExecuteDBScript
Password for file decryption ==> ********
Encrypted input script file path [mandatory] ==> C:\Program Files\PrivateArk\Server\GetVaultInfo.enc
Output results file path [mandatory] ==> C:\Program Files\PrivateArk\Server\GetVaultInfo.out
ITADB399I Using encryption algorithms: Advanced Encryption Standard (AES), 256 bit, RSA (2048 bit), SHA1.
ITADM114I Successfully connected to Database, Database id 0.
ITAWM001I PrivateArk Server files are protected.
CAVLT113I Completed successfully. Generated output file C:\Program Files\PrivateArk\Server\GetVaultInfo.out.

 

 




Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000001AF7CAM&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail