private key from vault using restapi (cyberark)

Advertisement

ramkumar_t_s@...
Guest

private key from vault using restapi (cyberark)

Hi
I have a powershell script to automate SFTP file uploads that runs under a windows scheduled tasks. It uses SSH Key authentication . As part of our security standards, they key has been vaulted in Cyberark and a restapi can fetch the key. But i see that the sessionoptions has only a path to the SSH key. Is there anyway to supply the SSH key as a string retrieved from the restapi call to CyberArk central credential provider?

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
33,846
Location:
Prague, Czechia

Re: private key from vault using restapi (cyberark)

No, currently WinSCP requires the key to be stored in a file.

Reply with quote

Advertisement

You can post new topics in this forum