createServiceAccount

On this page
Back to index

Summary

Creates a new service account object and uses a service account when creating and managing webhooks sessions.
serviceAccountName
Stringrequired
The service account name.
description
Stringoptional
Comment text describing this object that is not interpreted at all by CloudBees CD/RO.

Usage

Groovy

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