- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.
10-27-2021 02:48 AM
For the sake of automating provisioning of lab environments (and potentially for customers in the future), I'd like to know if Vault has any way to be installed by script.
The CyberArk Ansible playbook has been very helpful for component servers, but there's no example or documentation for Vault installation.
10-27-2021 10:56 PM
I found a solution!
Run the installer on a reference server with setup.exe /r and at the end it spits out an answer file in "C:\Windows\setup.iss".
Run the installer on your Vault server with setup.exe /s /f1"c:\path\to\setup.iss".
This way we could reuse the PowerShell modules from the other components to just have one XML that you edit, run the script (which edits the setup.iss and runs setup.exe) and you're off to the races. Just to have a cohesive way to install all Windows-based CyberArk PAS components.
10-27-2021 05:08 AM
Within the AWS CloudFormation script, one primary and one DR Vault are automatically installed, so you can build on that. But you should know that those scripts technically don't install the Vault, they just deploy a CyberArk-provided AMI, then connect to that EC2 VM where the Vault software is already installed, and customize it to match your environment (server key, master key, primary/DR role, master/admin password, license, ...).
10-27-2021 05:13 AM
Thanks, I was hoping for something for on-premises Vault.
10-27-2021 10:56 PM
I found a solution!
Run the installer on a reference server with setup.exe /r and at the end it spits out an answer file in "C:\Windows\setup.iss".
Run the installer on your Vault server with setup.exe /s /f1"c:\path\to\setup.iss".
This way we could reuse the PowerShell modules from the other components to just have one XML that you edit, run the script (which edits the setup.iss and runs setup.exe) and you're off to the races. Just to have a cohesive way to install all Windows-based CyberArk PAS components.
10-29-2021 04:53 AM
I made a working POC with the InstallationAutomation scripts from another component.
CyberArk/VaultInstallationAutomation at main · kjentech/CyberArk (github.com)
Only tested with 12.0.
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!

