createServiceAccount

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

Perl

$cmdr->createServiceAccount( "test-serviceAccountName" # serviceAccountName # optionals );

ectool

ectool createServiceAccount \ "test-serviceAccountName" `# serviceAccountName` \ # optionals

Examples

Perl

$cmdr->createServiceAccount('test', {description => "This is a description."});

ectool

ectool createServiceAccount "test" --description "This is a description."