Set up credential tags for a PowerShell activity

Credential tagging gives an administrator more control over the credentials used in a PowerShell activity.

Before you begin

Role required: admin, activity_creator or workflow_admin

About this task

Tagging is useful when the activity requires specific credentials to perform a task. By populating the Credential tag field you are telling the activity to use a credential that has a specific tag set for it. Additionally, credential tagging allows you to use a different underlying credential in development, testing, and production systems without having to change the activity for a given target system. For example, you can use the SCCMCred tag and have it point to both a development and test instance.

Procedure

  1. Navigate to Orchestration > Credentials.
  2. Select the credential you want to tag.
  3. Enter a unique name in the Tag field that is descriptive of the credentials purpose.
    Figure 1. Credential tag definition
    Credential tag definition
  4. Click Update.
  5. Open the Workflow Editor and select the PowerShell activity you want to tag.
  6. In the activity's Execution Command, add the name of the tag you created to the Credential tag field.
    Figure 2. Adding a credential tag to an activity
    Adding a credential tag to an activity