Smart Rules in Password Safe Cloud

Create and use dedicated account Smart Rules

A dedicated account Smart Rule allows you to dynamically map dedicated administrative accounts outside of BeyondInsight to users in a BeyondInsight group. This allows a lower privileged BeyondInsight user to access a higher privileged user's account temporarily while using Password Safe.

The below procedures provide instructions for configuring BeyondInsight users with the ability to access a dedicated directory account's credentials, using a query matching on directory attributes. Once configured, the users are able to request a password checkout for the dedicated account from the Password Safe portal. The user can then access resources using the dedicated account credentials.

You must configure the following in BeyondInsight:

  • Create a directory query to retrieve the directory account as well as its attributes.
  • Create a Smart Rule to run the directory query to find the account and its directory attributes, and add it as a managed account in Password Safe.
  • Create a Smart Rule to map the dedicated account to a user group in BeyondInsight.
  • Assign user group permissions to the two newly created Smart Rules.

Create the directory query

  1. Use a browser to sign in to your BeyondInsight/Password Safe URL.
    This URL is provided in the BeyondTrust welcome email and includes your site URL followed by /login.
  2. From the left menu, click Configuration icon.
    The Configuration page displays.
  3. Under Role Base Access select Directory Queries.
  4. Click + Create New Directory Query, and complete the form:
    • Directory Type: Leave as Active Directory.
    • Title: Provide a meaningful name that allows for easy identification of the query.
    • Credentials: Select a credential that has permissions to query the directory user accounts.
    • Query Target: Provide the LDAP path to the target.
    • Scope: Leave as This Object and All Child Objects.
    • Object Type: Select User Objects.
    • Dynamically refresh results each use: Leave enabled.
    • Basic Filter: Provide the name of the dedicated account.
  5. Click Create Directory Query.

Create the Smart Rule to run the directory query and add managed account

ℹ️

This example is specific to managed accounts. Similar instructions apply for the other rule or entity types

  1. Use a browser to sign in to your BeyondInsight/Password Safe URL.
    This URL is provided in the BeyondTrust welcome email and includes your site URL followed by /login.
  2. From the left menu, click Smart Rules icon.
    The Smart Rules page displays.
  3. From the Smart Rule Type filter dropdown, select Managed Account.
  4. Click Create Smart Rule.
  5. From the Category dropdown, select Managed Accounts.
  6. Enter a Name and Description.
  7. Set Selection Criteria as:
    • Directory Query:
      • Include Accounts from Directory Query
      • <query name>
      • Discover Accounts for Password Safe Management: enabled
      • Select the Domain
  8. Set Actions as:
    • Manage Account Settings
    • Show managed account as Smart Group
    • Link domain accounts to Managed Systems:
      • Asset or Managed System Smart Group
  9. Click Create Smart Rule.
ℹ️

  • To view the contents of a Smart Rule when creating a new rule or editing an existing rule:
    • Once the rule is saved, click View Results.
    • You are taken to the associated grid, where the contents of the Smart Rule are listed.
    • If the rule is actively processing, a banner displays letting you know that.
  • View Results displays only if you have permissions to the grid corresponding to the Smart Rule, i.e.; Assets, Managed Accounts, Managed Systems.
  • The Smart Rule must be saved with Show <entity> as Smart Group selected under Actions to view the results.
  • Because the Smart Rule must process to display the contents in the grid, we recommend viewing the results using only the Show as Smart Group action and before adding additional actions that may make changes to accounts and assets in your network. Once you have confirmed the rule contains your desired items, you can then add additional actions to the Smart Rule.

Create the Smart Rule to map the dedicated account to the user group

  1. Use a browser to sign in to your BeyondInsight/Password Safe URL.
    This URL is provided in the BeyondTrust welcome email and includes your site URL followed by /login.
  2. From the left menu, click Smart Rules icon.
    The Smart Rules page displays.
  3. From the Smart Rule Type filter dropdown, select Managed Account.
  4. Click Create Smart Rule.
  5. From the Category dropdown, select Managed Accounts.
  6. Enter a Name and Description.
  7. Set Selection Criteria as:
    • Dedicated Account:
      • Directory Attribute Match
      • Select the directory attribute you wish to match.
  8. Set Actions as:
    • Show managed account as Smart Group
    • Map Dedicated Accounts to: <user group>
  9. Click Create Smart Rule.
ℹ️

  • To view the contents of a Smart Rule when creating a new rule or editing an existing rule:
    • Once the rule is saved, click View Results.
    • You are taken to the associated grid, where the contents of the Smart Rule are listed.
    • If the rule is actively processing, a banner displays letting you know that.
  • View Results displays only if you have permissions to the grid corresponding to the Smart Rule, i.e.; Assets, Managed Accounts, Managed Systems.
  • The Smart Rule must be saved with Show <entity> as Smart Group selected under Actions to view the results.
  • Because the Smart Rule must process to display the contents in the grid, we recommend viewing the results using only the Show as Smart Group action and before adding additional actions that may make changes to accounts and assets in your network. Once you have confirmed the rule contains your desired items, you can then add additional actions to the Smart Rule.

Assign user group permissions to the Smart Rules

  1. Use a browser to sign in to your BeyondInsight/Password Safe URL.
    This URL is provided in the BeyondTrust welcome email and includes your site URL followed by /login.
  2. From the left menu, click Configuration icon.
    The Configuration page displays.
  3. Under Role Based Access, click User Management.
  4. Select the Groups tab.
  5. Locate the user group in the grid
  6. Click Ellipsis icon > View Group Details.
  7. In the Group Details pane, select Smart Groups.
  8. In the Smart Group Permissions pane, select the two dedicated account smart groups you created.
  9. Click Assign Permissions above the grid.
  10. Select Assign Permissions Read Only.

From the Smart Rules page, process the two newly created smart groups. After processing, the dedicated account discovered by the directory query is listed on the Managed Accounts page. Users belonging to the group you chose to map the dedicated account to are indicated in the Mapped to User column. You might need to add this column to the grid using the Column Chooser button above the grid.

Use an Entra ID Smart Rule

An Entra ID Smart Rule enables Password Safe to automatically discover Entra ID accounts. This allows privileged accounts in Entra ID to be managed, including password rotation and check-in and check-out. RDP sessions, from an Azure-joined VM, can use Entra ID credentials to connect to an Azure-joined VM.

  1. Use a browser to sign in to your BeyondInsight/Password Safe URL.
    This URL is provided in the BeyondTrust welcome email and includes your site URL followed by /login.
  2. From the left menu, click Smart Rules icon.
    The Smart Rules page displays.
  3. From the Smart Rule Type filter dropdown, select Managed Account.
  4. Click Create Smart Rule.
  5. From the Category dropdown, select Managed Accounts.
  6. Enter a Name and Description.
  7. From the Category dropdown, select Managed Accounts.
  8. Enter a Name and Description.
  9. Set Selection Criteria as:
    • Microsoft Entra ID Query:
      • There are two matching options available for discovering Entra ID accounts: Group Name and User Principle Name. Use a Group Name match to discover all accounts that are a member of the specified group. Use a User Principle Name match to allow a partial name match.
      • If using a Group Name, equals is the only match option. Enter the Group Name.
      • If using a User Principle Name, select starts with or ends with and enter the name.
      • Set the value for how many hours for rerunning the query.
      • Discover accounts in Microsoft Entra ID synced from on-premise - includes Entra ID accounts synced from on-premises Entra ID, as well as Azure-only accounts.
      • Leave Discover accounts for Password Safe Management checked.
      • Select an Entra ID domain from the dropdown.
    • Add additional selection criteria and groups, as required.
  10. Set Actions as:
    • Show managed account as Smart Group.
    • Add other actions as required to manage settings or work with the managed account.
  11. Click Create Smart Rule.
ℹ️

  • To view the contents of a Smart Rule when creating a new rule or editing an existing rule:
    • Once the rule is saved, click View Results.
    • You are taken to the associated grid, where the contents of the Smart Rule are listed.
    • If the rule is actively processing, a banner displays letting you know that.
  • View Results displays only if you have permissions to the grid corresponding to the Smart Rule, i.e.; Assets, Managed Accounts, Managed Systems.
  • The Smart Rule must be saved with Show<entity> as Smart Group selected under Actions to view the results.
  • Because the Smart Rule must process to display the contents in the grid, we recommend viewing the results using only the Show as Smart Group action and before adding additional actions that may make changes to accounts and assets in your network. Once you have confirmed the rule contains your desired items, you can then add additional actions to the Smart Rule.

Use Quick Groups

For a simpler way to organize managed accounts, you can group them using a Quick Group. The default processing time on a Quick Group is Once.

Add Managed Accounts to a Quick Group

  1. Use a browser to sign in to your BeyondInsight/Password Safe URL.
    This URL is provided in the BeyondTrust welcome email and includes your site URL followed by /login.
  2. From the left menu, click Managed Accounts icon.
    The Managed Accounts page displays.
  3. From the Smart Group filter dropdown, select an existing smart group in which the managed accounts are members.
  4. Check the boxes for the managed accounts that you want to add to the Quick Group.
  5. Click Add to Smart Group above the grid.
  6. Select a group from the Smart Group dropdown or create a new one by typing in the name and clicking Add as New Option.
  7. Select Quick Groups from the Category dropdown.
  8. Leave the default description or enter a new one.
  9. Click Add Selected Accounts To Smart Group.
  10. Your new smart group is now available in the Smart Group filter dropdown.

Remove accounts from a Quick Group

  1. Use a browser to sign in to your BeyondInsight/Password Safe URL.
    This URL is provided in the BeyondTrust welcome email and includes your site URL followed by /login.
  2. From the left menu, click Managed Accounts icon.
    The Managed Accounts page displays.
  3. From the Smart Group filter dropdown, select an existing smart group in which the managed accounts are members.
  4. Check the boxes for the managed accounts that you want to remove from the Quick Group.
  5. Click Remove From Smart Group above the grid.

Edit a Managed System Quick Group

  1. From the left menu, click Managed Systems icon.
    The Managed Systems page displays.
  2. Select Managed System from the Smart Rule type filter.
  3. Locate the Quick Group in the grid.
  4. Click > Edit Smart Rule.
  5. Make your changes, and then click Save Changes.

Deactivate a Managed System Quick Group

  1. From the left menu, click Managed Systems icon.
    The Managed Systems page displays.
  2. Select Managed System from the Smart Rule type filter.
  3. Locate and select the Quick Group in the grid.
  4. Click Deactivate above the grid.

Manually add managed systems to Smart Groups

ℹ️

Managed systems do not have a Quick Group category; however, the concept and process is essentially the same as it is for managed accounts.

  1. Use a browser to sign in to your BeyondInsight/Password Safe URL.
    This URL is provided in the BeyondTrust welcome email and includes your site URL followed by /login.
  2. From the left menu, click Managed Systems icon.
    The Managed Systems page displays.
  3. From the Smart Group filter dropdown, select an existing Smart Group in which the managed systems are members.
  4. Check the boxes for the managed systems that you want to add to the Quick Group.
  5. Click Add to Smart Group above the grid.
  6. Select a group from the Smart Group dropdown or create a new one by typing in the name and clicking Add as New Option.
  7. Select a Category from the dropdown.
  8. Leave the default description or enter a new one.
  9. Click Add Selected Systems To Smart Group.
  10. Your new smart group is now available in the Smart Group filter dropdown.

Remove a managed system from a Smart Group

  1. Use a browser to sign in to your BeyondInsight/Password Safe URL.
    This URL is provided in the BeyondTrust welcome email and includes your site URL followed by /login.
  2. From the left menu, click Managed Systems icon.
    The Managed Systems page displays.
  3. Select the Smart Group from the Smart Group filter.
  4. Check the boxes for the managed systems that you want to remove from the group.
  5. Click Remove From Smart Group above the grid.

©2003-2026 BeyondTrust Corporation. All Rights Reserved. Other trademarks identified on this page are owned by their respective owners. BeyondTrust is not a chartered bank or trust company, or depository institution. It is not authorized to accept deposits or trust accounts and is not licensed or regulated by any state or federal banking authority.