Privileged Account Credentials and Associated Secrets
By default, the Remote Password Changer (RPC) uses the credentials stored within a secret to initiate a password change. For Windows and Active Directory accounts, you can opt to use a privileged account by selecting the Privileged Account Credentials option. This allows you to choose an Active Directory secret that has the necessary AD permissions to change the account's password.
For secret templates that use a custom command password type, you can assign multiple Associated Secrets for use within the custom commands.
When a secret is linked with Privileged Account Credentials or Associated Secrets, editing the username, host, domain, or machine is restricted for users who do not have access to those linked secrets. In the Remote Password Changing tab, users without access will see the message This Secret references another Secret for Remote Password Changing to which you do not have access. You will not be able to edit some fields on this Secret.
Additionally, on the Edit page, all text-entry fields mapped for RPC, except for the password, are disabled. This added layer of security prevents unauthorized users from altering the username and resetting another account's password.
Tokens for Associated Secrets
Inside a custom command set, fields on an associated secret are referenced by adding the $[1]$ prefix to the field name, where the number is the order of the associated secret on the Remote Password Changing tab. For example, $[1]$USERNAME is the username of the first associated secret.
Use $[1]$PASSWORD to authenticate as an associated secret. $[1]$CURRENTPASSWORD and $[1]$PRIORPASSWORD resolve to a previous password. If the associated secret has only been vaulted and has never had a password change run against it, no previous password exists and the password change fails.
For the full list of tokens available in custom command sets, see Editing Custom Commands. For tokens across all Secret Server scripting contexts, see Complete Scripting Token Reference.