Export Installer Instructions ​
GET /userapi/remotesitelocations/exportinstallerinstructions
If required, it's possible to export the Agent installation instructions for all Remote Site Location records, by calling the "ExportInstallerInstructions" API method. The account executing this call must have the 'Remote Site Locations' Security Administrator's role in Passwordstate.
Important: After installing the Agent, it is highly recommended you read the section 'Installation of Remote Site Agent' in the Passwordstate Remote Site Agent Manual, as it provides guidance and recommendations for further securing your Agent installation.
Powershell
# Export Installer Instructions
$PasswordstateUrl = 'https://passwordstate/userapi/remotesitelocations/exportinstallerinstructions'
Invoke-Restmethod -Method GET -Uri $PasswordstateUrl -Header @{ "UserID" = "<UserID>" ; "APIKey" = "<APIKey>" }Json
# Response
HTTP/1.1 200
[
{
"SiteID":"1",
"SiteLocation":"Contoso",
"Agent Installer Non FIPS Encryption":"passwordstateagent.exe /s SiteID=1 InTransitKey=5615feaa9341c0aa2f6245cf0da467472cd36c80c03af0dbe8ab0994196bb3b9 URL=https://passwordstate.mydomain.com FIPSMode=False",
"Agent Installer FIPS Encryption":"passwordstateagent.exe /s SiteID=1 InTransitKey=5615feaa9341c0aa2f6245cf0da467472cd36c80c03af0dbe8ab0994196bb3b9 URL=https://passwordstate.mydomain.com FIPSMode=True"
}
]