How to pass credential alias to custom PowerShell workflow activity

Jon Parrish
Tera Expert

Hello,

So I have a custom PowerShell workflow activity that I previously was able to use a credential tag to run the activity using one of my stored credentials under Orchestration>Credentials.  However, it has been a while since I have needed to do this and it looks like they decommissioned the concept of credential tags in the platform and moved to credential aliases.  I see that on the PowerShell Custom Activity there still is a spot for "Credential Tag" under the execution command section but when I put a credential alias in this spot it does not utilize it on the midserver for the PowerShell script?  I am trying to securely pass credentials to the midserver and use them on the midserver with the PowerShell script without them being exposed as plain text in any logs.  Any help would be appreciated.  Thank you.

2 REPLIES 2

Yash31
Tera Contributor

Hi Jon,

Did you get any solution for this? I have the same requirement.

Thanks.

Ian Mildon
Tera Guru

Odd that you are having problems as we have credentials for use with PowerShell that has a Tag set and it is "called" from the Credential Tag field on the Execution Command; and the activities are executing correctly. In fact the latest time the activity executed was yesterday