DEMO/Infrastructure

← Back to dashboard

What Password Safe enables in the dashboard

Audience: operator · Profile: both · Read this when: you want to know everything turning Password Safe on changes: checkout, onboarding, rotation and the pages that use it.

Part of BeyondTrust Password Safe.

Feature Description
Vault-backed cloud credentials AWS, Azure, and SSH credentials resolved from Password Safe at runtime rather than stored in the application database
SSH key checkout Ansible and BT Gateway tasks retrieve SSH private keys from Managed Accounts on demand
Managed-account checkout for playbook runs A Config-Management run can use a Password Safe managed account as its login identity — the operator picks an account from a live list and the credential is checked out just-in-time at run time, never shown and scrubbed from job output. See below
Resource onboarding VMs and cloud databases the dashboard builds are onboarded as Password Safe managed systems + accounts, and removed again on destroy
Hypervisor credentials for a remote agent An on-prem agent brokering vCenter/Proxmox/Hyper-V can hold no credential at all: the dashboard checks one out per job, seals it to that agent, checks it back in and rotates it on release. See below
Secret audit log Every checkout creates an immutable record in Password Safe
Attributes on Inventory Each matched resource's Password Safe attributes (Status = Online, Business Unit = Finance) as a filterable column on /inventory. Admins can assign and remove them, for one resource or up to 50 at once, and re-run the Smart Rule that uses them. See Inventory — Password Safe attributes

PRA Vault accounts minted for tunnels can themselves be onboarded here for rotation — see Privileged Remote Access.

Managed-account checkout for Config-Management runs

Instead of referencing a stored secret, an operator running a playbook can pick a Password Safe managed account and have its credential checked out just-in-time. Two details are worth knowing because they are not obvious:

Full walkthrough in Ansible → Managed-account checkout.

Hypervisor credentials for a remote agent

A remote agent brokering hypervisor operations inside a private network has two ways to use Password Safe, and they differ in which host holds the OAuth client:

Agent-side checkout Dashboard-side checkout
Set in connections.yaml → ps_managed_account: <id> Connections tab → ps_account://<id>, plus dashboard_secret: true in connections.yaml
Password Safe client lives on the agent host, in passwordsafe.yaml the dashboard, which already has one
Hypervisor password at rest nowhere nowhere
Rotate on release no yes, by default
Needs nothing extra agent image ≥ 2.1.0

The second leaves the on-prem host holding nothing but the agent's own identity key. That matters because the OAuth client is usually entitled to more than the single account it is being used for, so it is the more valuable secret of the two — and it is the one sitting on the least-defended machine.

The two are mutually exclusive per connection: declare both and the agent refuses the job rather than picking, because there would be no way afterwards to say which credential a job had used.

Practical notes:

Power-state attributes

You can have a VM's Password Safe records follow its power state. When a start or stop completes, the dashboard applies one attribute and removes the other on the VM's managed system and its linked asset. A Smart Rule keyed on that attribute can then act on it, for example to keep a stopped host out of a rotation that would only fail.

Set it up

  1. In Password Safe, create an attribute type such as Power State with two values, Online and Offline. The dashboard never creates attribute types or values.
  2. In Settings → Integrations → Password Safe → VMs, turn on Set a power-state attribute when a VM is started or stopped.
  3. Pick the value to apply on start and the one to apply on stop. If you leave one blank, only that direction is stamped.

Which operations it covers

Operation Attribute applied
Start, power on, resume, unpause Online
Stop, shut down, pause, save, suspend Offline
Reboot, reset, restart Nothing changes

This covers every path that runs one of those operations: single and bulk buttons on every cloud and hypervisor page, agent-brokered hypervisors, the Workstation page, suspend schedules, the spend cap, change-window schedules, and a POV environment's suspend and resume. A POV stamps each of its guests.

The stamp runs only after the power job has completed. A power operation that failed changes nothing in Password Safe. The result is written as one line in the power job's Live Output, naming each record written or the reason nothing was. A Password Safe error never turns a successful power operation red.

How a VM is matched to its records

POV environments have their own Password Safe tenant, where the attribute ids differ. There the configured values are looked up by name: the same type name and value text. If that POV's tenant has no such value, its guests are skipped and the job log says what is missing.

Every write is audited as attributes.assign or attributes.remove, the same actions as an edit from Inventory, with trigger: power in the details.