Creating a privileged account secret
To create a secret:
- Go to Secrets > Secrets.
- In the Secrets List, select Create.
The Create New Secret in: dialog appears.
- Select the folder where you intend to add the secret.
- Select Create.
The New Secret window opens.
- Enter a name for the secret.
- From the Target dropdown, select the target that you created in Creating a target with server information as Windows.
- Enable Privileged Account and ensure that this account has administrator privileges on the remote server. This is needed to modify policy settings.
- In Fields:
- Enter the user name.
- Enter the password.
- Reenter the password to confirm.
- Click Submit.
The above secret can be created in the CLI using the following commands CLI:
config secret database edit 4 set name "Demo - Priv Account" set target "Demo - Windows Server" set target-privilege-account enable set folder 1 set template "Windows Domain Account" set proxy enable set rdp-service-status up set ldaps-service-status up set samba-service-status up config credentials-history end edit 1 set name "Username" set value "demo-priv-acc" next edit 2 set name "Password" set value "ENC jdiQCYRCdK9Hcxb1oyHpwaWGgltZZjI2N3ZFQA==" next end next end