0

Update Username credential with Rest API calls

We have a username cred that we would like to modify by using the Venafi Rest API. Below is what I have. If the FriendlyName is set to password and the credential is of type Password. The below statement works.

Do  I need to pass additional values for "UsernamePassword" types?

updatejson = [ordered]@{Description="test scottapi"; Shared="true";FriendlyName="UsernamePassword";Values=@([ordered]@{Name="Password";Type="string";Value="scott"});CredentialPath="\VED\Shared Credentials\scott2"} | convertto-JSON

0 comments

Please sign in to leave a comment.