secretserver icon indicating copy to clipboard operation
secretserver copied to clipboard

sync-secrets-v2.ps1 error New-tssSession

Open Jamlmalik12 opened this issue 1 year ago • 1 comments

Hello!

I have already used the syncsecretpassword.ps1 script in my environment and was able to use it smoothly.

Now there is a need to use the sync-secrets-v2.ps1 script to synchronize the Private Key between secrets.

But when using it in a pipeline we receive an error because Delinea always uses powershel v5 and therefore it is unable to execute the commands that come from the Thycotic Powershell Module, for example New-TssSession.

Should this happen? Is there any way around this?

Can we use the syncsecretpassword.ps1 script to synchronize private keys?

Screenshot 2024-10-15 155410

Jamlmalik12 avatar Oct 15 '24 18:10 Jamlmalik12

https://github.com/thycotic-ps/secretserver/blob/main/event-pipelines/sync-secrets/sync-secrets-v2.ps1

will need to be rewritten to not require the use of thycotric.secretserver

jagger avatar Nov 19 '24 14:11 jagger