Skip to main content

Third-party vault connectors

Privilege Secure has a built-in vault for credential management. Many organizations already store credentials in another vault. A vault connector lets Privilege Secure activities use the passwords from that vault, so you don't have to move or re-enter them.

How activities use a vault​

A vault connector is an integration connector. You create it under Configuration > Integration Connectors. An activity then uses the connector as follows:

  1. You create an activity with Login Account set to Vault and select the connector in Vault Connector. See Create an activity.
  2. Privilege Secure fills the Pre-Session (Grant) group with Check-out Credential and the Post-Session (Remove) group with Check-in Credential.
  3. When a session starts, the connector checks out the credential from the vault. When the session ends, the connector checks the credential back in.

To let the user see the password that the vault supplies, select Allow User to Access Password in the connection profile. See Connection profiles.

Where the connector runs​

The Action Service on the Privilege Secure service node calls the vault during the session's Pre-Session (Grant) and Post-Session (Remove) actions. The vault must be reachable from that node.

Each built-in connector connects to the address in its own settings. CyberArk, HashiCorp, and Password Secure use the API Url of the connector, so the port is the one in that URL. LAPS reads Active Directory for the domain in Domain Name, and its check-in also opens a WinRM connection from the service node to the target computer. A BYOV connector connects to whatever address its scripts use; its built-in check-in calls the Privilege Secure API that the Action Service uses. No connector runs from another component.

Vault connector flow. The Action service on the Privilege Secure service node uses a vault connector to check out a credential from the vault at session start and check it back in at session end. The vault can be CyberArk, HashiCorp, LAPS, Password Secure, or a BYOV script source.

Available connectors​

Connector templateSource of the credentialsPage
BYOVAny vault, through PowerShell scripts that you provide. Also Privilege Secure itself.Bring Your Own Vault connector
CyberArkCyberArkCyberArk integration
HashiCorpHashiCorp VaultHashiCorp Vault integration
LAPSLocal administrator passwords in Active DirectoryLAPS integration
Password SecureNetwrix Password SecureNetwrix Password Secure integration

Choose a connector​

  • Use the connector that matches your vault, when one exists.
  • Use BYOV when your vault has no dedicated connector. You write the check-out and check-in scripts.
  • Use BYOV with Privilege Secure as the vault to use accounts that you store in a secret vault, or manual accounts, in an activity. See Secret vaults.
  • Use LAPS when Active Directory manages the local administrator passwords.

Check-in​

The check-in step runs for every connector. When the last session that uses a credential ends, Privilege Secure erases the stored password and runs the connector's check-in. What the built-in check-in does depends on the connector:

ConnectorBuilt-in check-in
BYOVDeletes the credential record from Privilege Secure.
CyberArkDoes nothing.
HashiCorpChecks the account back in to the library.
LAPSSets the password expiration time to 0 and runs gpupdate /force on the computer over WinRM, so LAPS rotates the password. When WinRM is disabled for the host, or the session doesn't open, LAPS rotates the password at its next policy refresh.
Password SecureDoes nothing.

For a BYOV or CyberArk connector, a Checkin Script Block replaces the built-in check-in.