Most engineers think…
Most engineers think Password Safe is a fancier encrypted Excel — a safer place to STORE admin passwords, with the same old copy-paste workflow on top.
Wrong — storage is the least interesting layer. Password Safe is a rotation and brokering machine: a functional account re-keys every credential after use, the session proxy logs admins in without ever showing them the password, and the API hands secrets to applications with no human in the loop. If your design still has humans reading passwords off a screen all day, you deployed a vault — not PAM.
① The vault model — Password Safe on BeyondInsight, and the trinity
First, get the layering straight, because interviewers test it in the opening minute. BeyondInsight is the platform — it owns assets, discovery, Smart Rules and reporting. Password Safe is the PAM module that runs on it — the vault, the request engine, the rotation agents and the session proxy. One console, two layers, one licence conversation. Old-timers still call it PowerBroker (PBPS) — the name survives in registry paths, so recognise it.
Now the trinity that this whole series leans on. A managed system is the box — the docs call it a "computer or device where one or more account passwords are to be maintained". A managed account is the credential being protected — root on db-prod-01, the local Administrator on a file server. And a functional account is the worker — the account Password Safe itself logs in with to change everyone else’s passwords. Think of an SBI branch: the branch building is the managed system, the gold in each locker is the managed account, and the bank’s own master-key custodian — who can re-key any locker but never owns the gold — is the functional account.
The platform coverage is wide and a favourite Remember-tier exam line: Password Safe manages credentials on Windows, Unix/Linux, AD and LDAP domains, databases, network devices (firewalls, routers, iLO out-of-band cards) and cloud platforms. The thing that makes scale possible is that you never click systems in one by one for long — discovery scans find them and Smart Rules onboard them. That automation engine is lesson 5; today you only need to know it exists and that Smart Rule settings override per-account edits.
One more thing the docs say with unusual force: the setup steps "must be completed in the order presented" — 1) functional account → 2) password policy → 3) discover/add assets → 4) onboard managed systems → 5) onboard managed accounts → 6) Smart Rules, access policies, roles. You can onboard a system without a functional account, but the docs are blunt: you cannot onboard accounts until you have onboarded systems — and account onboarding is blocked until a functional account exists for that platform. The worker is hired before the lockers are filled.
Four words you will use every single day
Tap each card — these are the vocabulary anchors for the next 16 lessons.
The box: Windows, Linux, AD domain, database, switch, iLO, cloud. Onboarded BEFORE any of its accounts. So: no system, no accounts.
The protected credential ON a system — vaulted, released on request, rotated after use. The gold in the locker.
The worker Password Safe logs in with to change OTHER passwords. Created first, never checked out, never managed itself.
The platform under Password Safe: assets, discovery, Smart Rules, reports. One console, two layers — not two products.
Meera at Wipro onboards a Windows server so Password Safe can rotate its local Administrator password. In BeyondTrust terms, the server / the Administrator credential / the account PS logs in with are, in order — ?
Pause & Predict
Predict: the docs let you onboard a managed SYSTEM without a functional account, but block onboarding managed ACCOUNTS until one exists. Why would account onboarding specifically be blocked? Type your guess.
② Functional accounts in depth — the worker behind every rotation
The docs define a functional account as the "account that can access the system with the privileges required to manage and change passwords". You create it at Configuration > Privileged Access Management > Functional Accounts > Create New Functional Account — two required choices drive the rest of the form: Entity Type (Asset or Directory) and Platform. Pick the Microsoft Entra ID platform and the fields change shape entirely: Azure Scope, Username (UPN), Application (Client) ID, Tenant ID, Client Secret — because in the cloud the "worker" is an app registration, not a username-password pair.
How much privilege does the worker need? Less than most people give it. On a Windows member server: local admin, or just the change-password user right assigned via GPO. In AD: delegated reset-password rights plus read/write of the lockout attribute on the target OUs — not Domain Admin. (Managing protected groups like Domain Admins does need extra AD delegation steps, because AD strips delegated rights on protected objects — that is the only case with a real argument for more.) On Linux: root, or a sudo elevation command configured in the platform settings so the FA elevates only for the password change. Every extra right you grant the worker is blast radius if the worker is ever stolen.
GET https://bi.tcslab.local/BeyondTrust/api/public/v3/FunctionalAccounts Authorization: PS-Auth key=<128-char-api-key>; runas=tcs\rahul.v;
HTTP/1.1 200 OK
[ { "FunctionalAccountID": 7, "PlatformID": 4,
"DomainName": "tcs.local", "AccountName": "svc_psafe_rotate",
"Description": "Rotation worker - never check out" } ]Now the confusion that produces real outages: functional vs managed. Both live on the same screen family, both are privileged, and on a sleepy Friday someone — or an over-broad Smart Rule — onboards the functional account as a managed account. Password Safe then dutifully rotates the worker’s own password. But queued change jobs, and the platform’s stored copy of the FA credential, still hold the old secret. The docs’ warning is exact: functional accounts "have built-in management capabilities and passwords could fail to synchronize". Result: every rotation on that platform starts failing at once — the watchman’s own key was changed and nobody told him, so no lock in the building can be re-keyed.
Rahul at TCS faces this
Monday 06:10 IST: every scheduled rotation on the Windows platform failed overnight — dozens of accounts stuck in the failed-changes queue. Friday evening, a teammate had run a broad Smart Rule that swept service accounts into management — including svc_psafe_rotate, the platform’s functional account. PS rotated it at 23:30 UTC.
The functional account was onboarded as a managed account. Password Safe rotated the worker’s own password, but the functional-account record and queued change jobs still present the old secret — so every login the worker attempts now fails.
Pattern is the tell: ALL accounts on ONE platform failing together points at the shared worker, not at individual accounts. Check the Managed Accounts grid for the FA’s name, then test the FA directly.
BeyondInsight > Managed Accounts (search svc_psafe_rotate) · then Configuration > Privileged Access Management > Functional Accounts > Test Functional AccountRemove svc_psafe_rotate from managed accounts and exclude it from the Smart Rule’s criteria. Reset its password in AD, update the same value on the functional-account record, and re-run Test Functional Account until green.
Force a password change on one managed account (Managed Accounts grid → Change Password) and watch it succeed; then confirm the failed-changes queue drains as the Password Change Agent retries.
Symptom: Test Functional Account fails on a Linux platform with Error: client credentials config not found, and rotations on those systems error out — while network and permissions test clean. Cause: the functional-account credential config is corrupted or incomplete (a real Beekeepers-forum case — not firewall, not sudoers). Fix: recreate the functional account record and re-assign it to the managed systems. Ten minutes of re-creation beats two days of packet captures.
Karthik at ICICI wants "reliable" rotation, so he adds the AD functional account to Domain Admins AND onboards it as a managed account "so it rotates too". What is wrong?
Pause & Predict
Predict: a domain admin resets the functional account’s password directly in AD (outside Password Safe) during a security scare. What happens at the next scheduled rotation window, and where do you see it first? Type your guess.
③ The request lifecycle — request, approve, checkout, rotate
Password Safe gives users one of four roles: Requestor (may ask), Approver (may grant), Requestor/Approver (both — though never self-approving the same request in a sane design), and ISA — Information Systems Administrator, the power-user role that skips approval entirely. A request names the system, the account, a Reason (maximum 200 characters — auto-filled from defaults, like a gate-pass register entry) and a duration.
The numbers to memorise, because MCQs and capacity planning both use them: default ReleaseDuration is 120 minutes, the hard ceiling is 525,600 minutes — exactly one year; the ISA’s own default is also 120. After approval, Retrieve Password displays the value for a maximum of 20 seconds per click (viewable again any time during the release). Check in early and the release ends early. If the account has Change Password After Release enabled, check-in queues an immediate rotation — the password Sneha saw is dead minutes later, like an OYO room code that changes the moment a guest checks out. Scheduled rotation, independently, fires at ChangeTime 23:30 UTC by default.
▶ Watch one credential go round the loop
Sneha at Infosys needs root on db-prod-01 (10.20.5.52) for a patch window. Press Play for the healthy path, then Break it to see the failure.
Who else can hold the same credential at the same time? That is the exclusive vs concurrent decision, set per access type on the access policy. The schedule block for each access type — View Password, RDP, SSH, Application — carries its own fields: Approvers (how many must say yes), Auto Approve, Record session, Keystroke Logging, Concurrent (1 = exclusive, or more, or Unlimited) and Force Termination. Exclusive checkout means the second engineer waits — exactly like a library book already issued. Concurrent suits read-only service consoles; production root should almost always be exclusive, so the audit trail maps one human to one session.
The API mirrors the human flow one-for-one, which is why learning the portal teaches you the API for free: POST Auth/SignAppIn opens a session (state is kept between calls), POST Requests raises the request, GET Credentials/{requestId} retrieves the secret after approval, PUT Requests/{requestId}/Checkin releases it. The ISA shortcut is its own endpoint — POST ISARequests hands back the credential in one call, no approval. Think of the ISA as the senior doctor’s all-access hospital pass: reception (approvers) is for visitors.
# 1. sign in once - session state persists across calls
POST /BeyondTrust/api/public/v3/Auth/SignAppIn
Authorization: PS-Auth key=<128-char-key>; runas=icici\sneha.k;
# 2. raise the request (system 124, account 318, 120 minutes)
POST /BeyondTrust/api/public/v3/Requests
{ "SystemID": 124, "AccountID": 318, "DurationMinutes": 120,
"Reason": "CHG0042117 - DB patch window" }
# 3. after approval: retrieve, work, then check in
GET /BeyondTrust/api/public/v3/Credentials/2231
PUT /BeyondTrust/api/public/v3/Requests/2231/Checkin200 OK (SignAppIn - session established) 201 Created → 2231 (the request ID) 200 OK → "vR9!xK...Qq2#" (the released password) 204 No Content (checked in - rotation queued)
For any checkout question ask three things in order: (1) who may ask and who must say yes? → roles + the access policy’s Approvers/Auto Approve; (2) how long and how many at once? → release duration + Concurrent; (3) what happens at check-in? → Change Password After Release. If you can answer those three for any account, you can answer almost every lifecycle interview question.
Aditya at Airtel checks out a router credential with all defaults. How long is the release, and what is the absolute maximum a release duration could ever be configured to?
Pause & Predict
Predict: Sneha retrieves a password at 10:00 with a 120-minute release, finishes early and checks in at 10:25. Change Password After Release is ON. When does the password she saw stop working — 12:00 or ~10:25? Type your guess.
④ Where credentials flow — reveal, proxy, API, and the road to cloud
A credential leaves the vault through one of three doors, and choosing the right door per consumer is real architecture work. Door 1 — portal reveal: the human reads the password (20-second display) and types it somewhere. Maximum exposure: it can be noted down, shoulder-surfed, keylogged. Door 2 — proxied session: the user connects to Password Safe’s session proxy — SSH on 4422, RDP on 4489 (session-monitoring listener on 4488) — authenticates as herself, and the proxy injects the managed credential into the connection. The admin never sees the password; there is nothing to leak, and the session is recorded. Door 3 — API retrieval: applications fetch secrets programmatically — which needs an API registration, Enable for API Access switched on for the account, and a Requestor or ISA role for the runas user. No human in the loop at all.
# pattern:+ + @ ssh -p 4422 sneha.k+dbadmin@icici.local+db-prod-01@psafe.icicilab.local
sneha.k@psafe.icicilab.local’s password: ******** [Password Safe] approved request found - injecting credential for dbadmin [Password Safe] session recording: ON (keystrokes logged) dbadmin@db-prod-01:~$
Below the doors sits a routing layer you meet the day your deployment grows past one team: workgroups. Every managed system and account carries a WorkgroupID; worker nodes are assigned to workgroups so "a worker node only processes tasks for that group’s managed accounts". In multi-tenant builds each organization needs at least one worker node — and a worker node belongs to exactly one organization. Wipro running PAM-as-a-service for three clients = three organizations, three (or more) worker nodes, zero cross-tenant rotation traffic.
Finally, the question every firewall team asks about Password Safe Cloud: "what do we open inbound?" Answer: nothing. You install Resource Brokers on-prem; each dials outbound on 443 to your cloud site at <yoursite>.ps.beyondtrustcloud.com and pulls work down. A broker installs nine services covering the four local jobs: directory authentication, discovery, credential rotation and the session proxy. Brokers group into resource zones (the built-in Default zone cannot be edited; up to 50 more; 200 brokers max; run 2+ per zone for redundancy; 16 GB RAM minimum each). It is the Delhivery local-hub pattern: the warehouse (cloud) never enters your society — the hub inside the gate dials out to fetch jobs, and the gate stays closed inbound.
Password Safe Cloud must rotate passwords on servers inside ICICI’s data centre. The firewall team asks which ports to open INBOUND from the cloud. What do you tell them?
Pause & Predict
Predict: in a proxied RDP session through port 4489, where does the real password actually travel — and what does Sneha type to authenticate? Type your guess.
Take any real ask — "give the DB vendor 2 hours of root on db-prod-01, with full audit" — and answer cold: the trinity members involved (system db-prod-01, account root, the Linux FA), the door (proxied SSH via 4422 with injection, never reveal), the policy settings (1 approver, Record session ON, Concurrent 1, 120-min release), and what happens at check-in (rotation, because Change Password After Release). If you can do that without notes, section ⑤’s Smart Rules will feel easy.
🤖 Ask the AI Tutor
Tap any question — instant, scoped to this lesson. No login, no waiting.
Pre-curated from BeyondTrust docs + community Q&A, scoped to this lesson. For a live prod issue, paste your export into chat.techclick.in.
📝 Wrap-up assessment — six more
You've answered 4 inline. Six left. 70% (7 of 10) marks the lesson complete on your profile. Tap Submit all answers at the end.
🧠 In your own words
Type one line: In one line: why must the functional account never be onboarded as a managed account? Then compare to the expert version.
🗣 Teach a friend
Best way to lock it in — explain it in one line to a teammate. Tap to generate a paste-ready summary.
📖 Glossary
- Managed system
- Any computer or device where Password Safe maintains account passwords — Windows, Linux, AD domain, database, network device, cloud.
- Managed account
- The privileged credential ON a managed system whose password Password Safe stores, releases and rotates.
- Functional account
- The worker credential Password Safe uses to log in and change other accounts’ passwords — created first, never checked out, never managed itself.
- BeyondInsight
- The management platform Password Safe runs on: assets, discovery, Smart Rules, reporting — one web console, two layers.
- Access policy
- Defines when and how users may request passwords or sessions — approvers, auto-approve, recording, concurrency, force-termination, per access type.
- Release duration
- How long a checked-out credential stays yours — default 120 minutes, maximum 525,600 minutes (one year).
- Change Password After Release
- Managed-account setting that queues a rotation the moment the credential is checked back in — the seen value dies.
- ISA
- Information Systems Administrator — Password Safe role that retrieves credentials instantly via ISARequests, with no approval step.
- Session proxy
- Password Safe’s man-in-the-middle for SSH (4422) and RDP (4489): injects the credential and records the session; the user never sees the password.
- Resource Broker
- On-prem worker for Password Safe Cloud — dials outbound 443 to the cloud site and runs discovery, rotation, directory auth and session proxy locally.
- Workgroup
- Assignment unit tying managed systems/accounts to a worker node — in multi-tenant builds, one organization per worker node.
- Smart Rule
- Continuously re-evaluated IF/THEN rule that auto-onboards discovered assets and accounts; its settings override per-account edits.
📚 Sources
- BeyondTrust Docs — Password Safe Getting Started (canonical setup order; managed system / managed account / functional account definitions). docs.beyondtrust.com/bips/docs/ps-getting-started
- BeyondTrust Docs — BeyondInsight & Password Safe API usage + Password Safe API reference (PS-Auth header, SignAppIn, Requests → Credentials → Checkin, ISARequests; defaults 120 / 525600 / 23:30 / 30 s). docs.beyondtrust.com/bips/reference/beyondinsight-and-password-safe-api-usage · docs.beyondtrust.com/bips/v24.3/docs/password-safe-api
- BeyondTrust Docs — Functional Accounts (create path Configuration > Privileged Access Management > Functional Accounts; Entity Type / Platform fields; Entra ID functional-account fields). docs.beyondtrust.com/bips/v24.3/docs/pathfinder-functional-accounts
- BeyondTrust Docs — Password Safe SSH/RDP connections (proxy ports 4422 / 4489 / 4488; Direct Connect string syntax). docs.beyondtrust.com/bips/docs/ps-ssh-rdp-connections
- BeyondTrust Docs — Password Safe Cloud Resource Broker installation (resource zones, nine services, outbound-443-only model, 16 GB RAM minimum, 200-broker cap). docs.beyondtrust.com/bips/docs/ps-cloud-resource-broker-install
- BeyondTrust Beekeepers community — functional account rights & never manage the FA (threads 5632 / 5880); "client credentials config not found" war story (thread 6090); FA password change breaking rotation (thread 7038). beekeepers.beyondtrust.com
- BeyondTrust Docs — BeyondInsight and Password Safe 25.2 release notes (current version line, Windows Server 2025 support). docs.beyondtrust.com/bips/changelog/beyondinsight-and-password-safe-25-2-release-notes
- BeyondTrust University — Get Certified (Password Safe Administration cert: 40 questions, 75% pass, two attempts) + PeerSpot Password Safe reviews (asset-based licensing vs CyberArk per-user). beyondtrust.com/services/beyondtrust-university/get-certified · peerspot.com/products/beyondtrust-password-safe-pros-and-cons
What's next?
You now know the trinity and the lifecycle — but nobody onboards 5,000 accounts by hand. Next: discovery scans that find every unmanaged credential in the estate, and the Smart Rules that onboard them automatically (and the overwrite loop that melts an Omni Worker).