10/19/2013 3:41:41 PM
We recently purchased Secret Server and I'm trying do so some integration via the API using Powershell and I'm getting access denied whenever I run the GetSecretTemplateFields method. I've successfully authenticated and gotten the token back and have full admin rights to the system, yet it always returns access denied calling that method.
Here is a snippit from the code:
$templates = $ss.GetSecretTemplates($token)
foreach($template in $templates)
$temp = $ss.GetSecretTemplateFields($token, $template.id)
When I pull it into the debugger, I get an array of the templates back with no problem, but when I try and pass the ID in the GetSecretTemplateFields method, I always get access denied. Any thoughts or help would be appreciated :-)