CAVaultManager

The CAVaultManager utility enables you to manage the Vault database.

Syntax

CAVaultManager has the following syntax:

 
CAVaultManager <command> [command parameters]

Using the CAVault Manager Commands

Full List of CAVaultManager Commands

The usage is explained in the following table.

Command

Parameter

Description

Mandatory

SecureDB

 

Secures the Vault database.

 

CreateDB

 

Creates the Vault database.

 

 

/MasterPassword

The password for the Master user.

Yes

 

/RndBaseFileName

The path where the initial entropy file is saved.

Yes

 

/DBEmergency PasswordFileName

The name of the file where the encrypted emergency password for database access is stored.

Yes

SecureSecretFiles

 

Secures the Vault’s secret files.

 

 

/SecretType

The type of secret to secure. Options are LDAP, Radius, or HSM.

Yes

 

/Secret

The secret. It cannot begin with "/", and can't contain the characters _, ^,+, or &.

Yes

 

/SecuredFileName

The name of the file where the secured secret is stored.

No

 

/FileSectionName

Name of LDAP host section to secure within the file. Default is LDAP directory section.

No

SecureEntropyFile

 

Secures the Vault entropy file.

 

 

/RndBaseFileName

The path where the random number generator state is saved.

Yes

OptimizeDB

 

Optimizes Vault performance.

 

UpgradeDB

 

Upgrades the Vault database.

 

DeleteDB

 

Deletes the Vault database.

 

RecoverDBPassword

 

Recovers the Vault database connection password.

 

 

/DBEmergency PasswordFileName

The name of the file where the encrypted emergency password for database access is stored.

Yes

 

/DBNewPassword

The new password for database access.

No

LDAPVerify 

    

Verifies LDAP component configuration.

 

 

/ConfOnly

Verifies only LDAP configuration files.

No

 

/Verbose

Displays details of the LDAP verification checks.

No

RestoreDB 

     

Restores the Vault database.

 

 

/BackupPoolName 

The name of the backup set that the command refers to.

No

 

/NoSynchronize

Does not synchronize the restored external files with the restored metadata, as it may result in safes containing files that aren't actually there.

No

 

/Force

Synchronizes the existing and the restored databases without prompting the user for confirmation.

No

SynchronizeDB

 

Synchronizes the files in the Safes folder with the restored metadata.

 

 

/SafePattern

A Safe pattern indicating the Safes that will be synchronized with the restored data.

No

 

/FilesSyncOnly

Enables a synchronization between the files in the Restored Safes folder and the Safes folder.

No

 

/QuotaSyncOnly

Enables synchronization between the quotas in the Restored Safes folder and the Safes folder.

No

 

/Update

Updates the data in the Safes folder during the synchronization process.

No

 

/Force

Prevents the application from displaying a confirmation message to the user before completing the restore/synchronize process.

No

RecoverBackupFiles

 

Recovers the backup files and re-encrypts them with a new backup key.

 

 

/BackupPoolName

The name of the backup set that the command refers to.

No

DiagnoseDBReport

 

Compiles a diagnostics report for the CyberArk Vault database

 

 

/OutputFileName

The name of the report output file.

No

GenerateKeyOnHSM

 

Generates new encryption keys on the HSM.
This parameter is mandatory if the HSM key will be generated on the HSM device.

No

 

/ServerKey

Determines that server keys will be generated on the HSM device.
This parameter is mandatory if the HSM key will be generated on the HSM device.

No

LoadServerKeyToHSM

 

Uploads the Server key to the HSM and updates the relevant parameters in DBParm.ini.

 

 

/Pincode

The PIN code required to upload the Server key to the HSM.

No

 

/WrapKey

For use on HSM devices that require keys to be encrypted.

This will generate a new key pair. The public key will be used to encrypt the server key, and the private will decrypt it on the HSM device.

No

ReplaceLDAPDirectory

 

Changes references in directory maps, users and groups from the current external directory to a different one.

 

 

/CurrentLDAPDirectory
<old_directory>

The name of the external directory that these objects currently reference.

Yes

 

/NewLDAPDirectory
<new_directory>

The name of the new external directory that these objects will reference.

Yes

 

[/Update]

Indicates whether the directory maps, users and groups will be updated or this operation will be performed in simulation mode.

No

AppendFriendlyDomain
NameToGroup

 

Adds active directory domain names to names of groups that are provisioned in the Vault.

 

 

/Update

Indicates whether the active directory domain name will be added to names of groups that are provisioned in the Vault or this operation will be performed in simulation mode.

No

TerminateDBTransaction

 

Enables you to manually terminate transactions that have been running longer than a specified period of time.

 

 

/DBTransactionID

The unique transaction ID of the long transaction. This ID appears in the alert message that is written in the italog file when the transaction is identified by the MonitorLongTransactions parameter in DBParm.ini.

No

RecoverReplicationPassword

 

Recovers the replication user’s password.

No

StartDBReplication

 

Begins the database replication. This command is issued from the DR site.

No

StopDBReplication

 

Stops the database replication. This command is issued from the DR site.

 

CollectLogs

 

Creates a folder on the Vault server machine and stores a set of Vault server log files in it.

No

 

[/OutputFolderName]

The full path of a folder where the Vault server log files will be saved.

No

ConfigureAsMaster

 

Configures the current Digital Vault as the Master Vault in a Distributed Vaults environment.

No

 

/MyIP

The IP address of the current machine. By default, this utility uses the first network card IP address.

No

 

/Silent

The utility does not issue any confirmation messages during configuration.

Yes

ConfigureAsSatellite

 

Configures the current Digital Vault as the Satellite Vault in a Distributed Vaults environment.

No

 

/MyIP

The IP address of the current machine. By default, this utility uses the first network card IP address.

No

 

/Silent

The utility does not issue any confirmation messages during configuration.

Yes

 

/ResetMasterAddress

Force the Read-Only Vault to obtain the IP address of the Replication Master Vault from Vault.ini. This command can used when the Vault was not included/available during Distributed Vaults setup.

No

UnSuspendUser

 

Activates a suspended user on the Master Vault.This task can either be performed using the CAVaultManager utility or the PrivateArk Administrative Client.

No

 

/UserName [username]

The name of the suspended user who will be reactivated.

No

Promote

 

Changes the role of the current Vault from Read-Only to Master and updates the rest of the Vaults in the deployment to replicate from it.

No

 

/Silent

The utility does not issue any confirmation messages during configuration.

No

 

/SkipVault [IP Address,...]

Allows the promotion process to proceed without attempting a connection to the specified Read-Only Vault. This command is useful when a Read-Only Vault is not responsive and may delay the promotion process as the process tries to connect to it to update the replication source.

No

 

/EnableTrace

The utility writes extended log information during command execution.

No

WaitForReplication

 

Waits until the slave SQL thread has executed transactions whose global transaction ID are contained in the given GTID.

No

 

/InputGTID

The Global Transaction ID to wait for.

Yes

 

/Timeout

The timeout in seconds that the Master Vault will wait until all of the transactions in the GTID set have been executed. The default value is 86400 seconds (1 day).

No

DeletePartialUsers

 

Deletes corrupted Vault users for all authentication types with invalid user keys or with invalid database references.

No

ConcatCategory

 

Verifies or recreates the data in the ConcatCategory table in the Vault database.

 

 

/Verify

Verifies the content of the ConcatCategory table.

 

 

/Regenerate

Regenerates the ConcatCategory table.