getCredentials

On this page
Back to index

Summary

Retrieves all credentials in a project.
projectName
Stringrequired
The name for the project that must be unique among all projects.
includeHidden
Booleanoptional
If true, return only credentials explicitly created by a user and not credentials that are automatically created. For example, for plugin configurations.
usableOnly
Booleanoptional
If true, return only those credentials which the current user has the execute privilege on.

Usage

Groovy

import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.getCredentials( projectName: "test-projectName" /* optional arguments */ )