Shared Settings and Secrets
This page describes the shared settings and secrets features which enable you to provide a more secure means to store and reuse data. Users assigned to the Admin role have access to these features:
- Shared settings - Enable you to share the same value in several places.
- Secrets - Secrets remove hard-coded credentials from code and do not store credentials in the application. They replace stored credentials with a runtime call to the Secrets Manager web service; secrets retrieve credentials dynamically. You should consider using a secret if you want to specify connection details of a database or service, for example: server name, IP address, and port number.
Access the Shared Settings Page
To access the shared settings page:
- Sign in to the TDP as an admin.
- In the left navigation menu, select the hamburger menu icon.
- Choose Administration. Then, choose Shared Settings. The Shared Settings page appears.
There are several columns of information on this page.
Field Name | Description |
---|---|
Name | Lists the names of the shared settings. |
Value | Lists the value of the shared settings (unless it is a secret). Secrets indicate how many times they have been edited. |
Last Modified | Indicates when the shared item was last modified. |
Last Modified By | Indicates which user last modified the shared setting. |
Usages | Indicates whether the shared setting is currently being used as well as how many usages it has. |
Secrets Management
Secrets are managed in the Shared Settings page.
Add a Secret
To add a secret, do the following.
- In the Shared settings window, select “Add Secrets”
- In the Add a New Secret window, enter the name and value. Then retype the value to confirm it and click add.
NOTE
The secret name must consist of lower case alphanumeric characters, '-' or '.', must start and end with an alphanumeric character and cannot have two non-alphanumeric characters next to each other.
- The Secret appears in the list. The value is hidden by an icon of a lock, which indicates that it is a secret.
NOTE
When you add a secret, it might take up to 60 seconds before it appears in other places in the TDP's user interface.
Edit a Secret
To edit a Secret, do the following.
- Click the three button menu to the right of the entry and select Edit.
- In the Edit Secrets Item window, enter a new value, retype it again to confirm it, then click Edit.
Delete a Secret
To delete a Secret, do the following.
- Click the three button menu to the right of the entry and select Remove.
- In the Delete Settings Item window, click Delete.
View Secret Usage
To see where a Secret is used, do the following.
- Click the usage link in the Usages column.
- The usages appear in the Secret Usages window.
- To go to the place where the Secret is used, click the hyperlink in the Secret Usages window.
View a History of Edits to the Secret
To view the history of edits made to a Secret, do the following.
- Click the “Edited x times” link in the Value column of the Secret you’d like to see edits for.
- The audit trail appears. For more information on how to use the Audit trail, see this topic.
Manage Shared Settings
Shared settings are managed in the Shared Settings page.
Add a Shared Setting
To add a Shared Setting, do the following.
- In the Shared Settings window, select “Add Shared Settings Item”
- In the Add a new Shared Settings item, enter the name and value then click add.
NOTE
The shared setting must consist of lower-case alphanumeric characters, dashes (
-
), periods (.
), or underscores (_
). Shared settings must also start and end with an alphanumeric character, and cannot have two non-alphanumeric characters next to each other.
- The Shared Setting appears in the list.
NOTE
When you add a shared setting, it might take up to 60 seconds before it appears in other places in the TDP's user interface.
Edit a Shared Setting
To edit a Shared Setting, do the following.
- Click the three-button menu to the right of the entry and select Edit.
- In the Edit Shared Settings Item window, enter a new value, then click Edit.
Delete a Shared Setting
To delete a Shared Setting, do the following.
- Click the three-button menu to the right of the entry and select Remove.
- In the Delete Settings Item window, click Delete.
View Shared Setting Usage
To see where a Shared Setting is used, do the following.
- Click the usage link in the Usages column.
- The usages appear in the Shared Setting Usages window.
- To go to the place where the Shared Setting is used, click the hyperlink in the Shared Setting Usages window.
View a History of Edits to the Shared Setting
To view the history of edits made to a Shared Setting, do the following.
- Click the “Edited x times” link in the Value column of the Shared Setting you’d like to see edits for.
- The audit trail appears. For more information on how to use the Audit trail, see this topic.
Updated about 1 year ago