Secret Template List Fields
Overview
Introduction
With secret template list fields, administrators can create new lists that can be shared by multiple secrets. Clicking on an existing list goes to the details page for that list where the user can set the list's name, description, and the options available in the list.
You can optionally group list options by category, which make using very large lists easier. For instance, a list of machines might have the machines categorized by function, such as "Web Server" or "Database Server." You could also use categories for locations, such as "London," "New York," or "Tokyo."
List categories are displayed on the secret and on the launcher dialog with the options sorted alphabetically within categories, which are also sorted alphabetically. Options can be duplicated in multiple categories and will show up in each one. In addition to manually adding categories and options, you can upload a file containing the list options. Teams (Admin > Teams) – The team details page
In general, there are two types of list fields:
-
Allow Lists: Display a searchable drop-down of the server names or IPs entered in the list for the user to select from. Only allows entries from the list to be used.
-
Deny Lists: Allow the user to enter any server name or IP, but checks against the deny list and prevents connecting to entries on that list.
Comma-Delimited Lists
There are two types of list filtering in Secret Server: The above mentioned list filtering and assigning a text or notes field on the secret as a comma-delimited list of server names. The former has the benefit of being shared between secrets, but the latter is useful as a one-off on a single secret. A comma-delimited list can be either an allow or a deny list.
Adding a New List Field
Task 1: Create the List
-
Go to Admin > Categorized Lists. The Lists page appears.
-
Click the Create List button. The Create List popup appears.
-
Type the name in the Name text box.
-
(Optional) Type a description in the Description text box.
-
Click the Save button. The configuration page for the new list appears:
-
Click the List Optionstab.
-
Click on the expand dropdown button next to the Create option button and select Create Category from the dropdown. The Create Category popup appears.
If you want a list with no categories, choose Uncategorized for category, and follow these same instruction for adding options.You can also create categories from a comma-delimited list in a text file. Select the Add button and select Add from File. This can be either a list of options, one option per line, or a list of comma-delimited values in the format option,category with one pair per line. Files can also combine these formats, and any line without a comma will be treated as a option without a category.Type the name for the category in the Category text box. We typed "Manhattan." -
Enter the Category name and click Save. The category name now appears in the category dropdown list.
-
Add another category the same way.
-
Click Create Option. The Create Option popup appears.
-
Type the name for the Option in the Option Name text box.
-
Click to select the category the new option will belong to in the Parent Category dropdown list.
-
Click Save. The new option appears in the list.
-
Add another option the same way.
-
Repeat the process for the other category you created.
-
For future reference, an alternative method exists—click one of the options. A sidebar appears:
- Update Option: Rename the option
- Move to Category: Move the option to another category in the same list
- Delete Option: Remove the option from the category.
For now, we will not use any of them.
-
You now have a new categorized list available for secrets (via a secret template with the list).
If you ever want to view past changes to a list or category, click the Audit tab for the list.
Task 2: Create a Template Using the List
-
Go to Admin > Secret Templates. The Secret Templates page appears.
-
Click Create/Import Template. The Create Template pop up appears.
-
Type the template name in the Template Name text box.
-
Leave the option button set to New.
-
Click Save. The Secret Template Designer page for that new template appears.
-
Click the Fields tab.
-
Complete the following steps for each field:
-
Click Add Field. The Add Field popup appears.
-
Type a name in the Name text box for the first (and currently only) field.
-
Click the Type dropdown list for the field and select List.
-
Click Save button. The new field appears in the table.
-
-
Click the name of a new field in the list. Its configuration page appears.
-
(Optional) Click the Edit button in the Template Field Details section to further customize the field.
-
Click the Secrets button in the main menu to return to the Secret Server dashboard.
Task 3: Create a Secret Based on the Template
-
Click the Create secret button. The Create new secret popup appears.
-
In the Choose a secret template list, select the secret template you just created. Create New Secret popup updates to reflect your chosen template.
-
Note that one of the dropdown lists has the same name as the list field you created earlier. Click it, and you see the list categories you created. The list is now available for that secret's launcher.
-
When a secret gets created with a list template, a tab on the secret gets created called List Fields. You then need to navigate to the Mapping tab and add the created list to the launcher restrictions by editing the Fields field.