Script Credentials

Overview

Credentials are not required when using the Script functionality in DataBlend, but a script can reference credentials that have been set up in the User’s group. These can be referenced in Script Collectors, Script Data Targets and Script Tasks.

 

Below is an example of referencing credentials in a script:

var credential = Credentials.Find(new System.Guid('guid-of-credential'), true).Result; log(credential.password.value)

 

The guid-of-credential can be found in the URL of the credential being referenced:

Script Credentials