getCredential

On this page
Back to index

Summary

Finds a credential by name.
projectName
Stringrequired
The name for the project that must be unique among all projects.
credentialName
Stringrequired
The name of the credential.

Usage

Groovy

import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.getCredential( projectName: "test-projectName", credentialName: "test-credentialName" )