Automated Vault Installation

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Welcome Idira to LIVEcommunity!

Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.

Meet Idira

Automated Vault Installation

L2 Linker

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.

1 accepted solution

Accepted Solutions

L2 Linker

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.

View solution in original post

4 REPLIES 4

L7 Applicator

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, ...).

L2 Linker

Thanks, I was hoping for something for on-premises Vault.

L2 Linker

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.

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.

  • 1 accepted solution
  • 510 Views
  • 4 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

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!