Geeting Asset Credentials using API

Hi team,
We are trying to replicate the assets to other BOT by using Power Shell command using orchestrator APIs, we can able to copy the assets of all types except for credentials.

Can any only help me out how can I do this?

I suppose the issue you have it is related to the datatype the credential password has.