Add a password to an existing password list by ID.

Basic Parameters

ParameterDescription
Active Directory NetBIOSAn Active Directory NetBIOS value to associate the new password with, as it is stored on the Active Directory Domains screen in Passwordstate.

Note: This parameter is required when the record relates to an Active Directory account.
Host NameA host name to associate the new password with, as it stored on the Hosts screen in Passwordstate.

Note: This parameter is required when the record relates to an account on a host.
OTP URIA valid URI for an OTP (One Time Password) field.
PasswordThe new password to add.
Password Creation MethodChoose whether to set a custom password or generate one automatically.
Password List IDThe ID of the password list to add the password to.
TitleThe title of the new password.
User NameThe username associated with the password to add.

Advanced Parameters

ParameterDescription
Add To Expiry DateProvides the default value for adding a number of days or months to the ExpiryDate field for all new password records added to the password list.
Add To Expiry Date IntervalSpecify whether to add an expiry time interval in days or months.
Enable Heartbeat Status UpdateSelect to perform regular account heartbeat status update.
Enable Password Reset ScheduleSelect to enable scheduled password resetting.
Generate Gen Field PasswordSelect to generate a random password to any generic fields of type Password.

Note: If the password list or generic field is set to use the user’s password generator options, the default password generator options will be used instead.
Password Reset EnabledSelect to enable the option to reset password.

Note: In order for this parameter to work, the parent password list must also have this option selected.
Password Reset ScheduleSet the schedule for automatic password changes in the format of HH:MM.

For example: 23:10 or 04:00.
Privileged Account IDA privilege account to associate its credentials with with the password record. Required to
initiate a connection and perform a password reset in some password reset scripts.

Requirements for Privileged Accounts are documented in the User Manual, under the KB Article section.

Note: In order to look up Privileged Account ID values , head to the Administration -> Passwordstate Administration -> Privileged Account Credentials screen.
Schedule Heartbeat Status UpdateSet the schedule for the account heartbeat status update in the format of HH:MM.

For example: 23:10 or 04:00.
Script IDThe ID of a password reset script in order to perform password resets.

Note: In order to look up all Script ID values, use the ‘Toggle ID Column Visibility’ button on the Password Reset Scripts screens in Passwordstate.
Validatewith Priv AccountThis field is only used for Linux accounts, and when selected, the privileged account credential will be used for authentication when performing account heartbeats - useful for accounts like root which generally are not allowed to be used for SSH.
Validation Script IDA password validation script to associate with the new password record.

Note: In order to look up Validation Script ID values, use the Toggle ID Column Visibility button on the Password Validation Scripts screens in Passwordstate.

Example Output

[
	{
		"PasswordID": 47401,
		"Title": "North American Core Router 1",
		"UserName": "narouter1",
		"Description": "",
		"GenericField1": "",
		"GenericField2": "",
		"GenericField3": "",
		"GenericField4": "",
		"GenericField5": "",
		"GenericField6": "",
		"GenericField7": "",
		"GenericField8": "",
		"GenericField9": "",
		"GenericField10": "",
		"GenericFieldInfo": [],
		"AccountTypeID": 0,
		"Notes": "",
		"URL": "",
		"Password": "StenS-Lun#3$2^yc",
		"ExpiryDate": "",
		"AllowExport": true,
		"AccountType": "",
		"OTP": "",
		"WebUserID": "",
		"WebPasswordID": "",
		"WebOTPID": "",
		"WebGenericField1ID": "",
		"WebGenericField2ID": "",
		"WebGenericField3ID": "",
		"WebGenericField4ID": "",
		"WebGenericField5ID": "",
		"WebGenericField6ID": "",
		"WebGenericField7ID": "",
		"WebGenericField8ID": "",
		"WebGenericField9ID": "",
		"WebGenericField10ID": ""
	}
]

Workflow Library Example

Add Password with Passwordstate and Send Results Via Email
Workflow LibraryPreview this Workflow on desktop