Unsupported content

   

This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

Impersonation - createAutomationPrincipalWithPrivateKey

Impersonation - createAutomationPrincipalWithPrivateKey

Description :

This command creates a new automation principal. It assigns the automation principal a name, description, principal identifier (OS specific name or SID), domain name and private key file path. This command returns the handle for the newly created automation principal.

Return type : DBKey

Command Input :

Variable Name

Variable Type

Description

name

String

Name of the automation principal.

description

String

Description of the automation principal.

principal

String

OS specific principal identifier (user name or SID).

domain

String

If the principal is a domain user, specify the domain name. Otherwise, pass in an empty string.

privateKeyFilePath

String

The nsh path of the private key file.

Example:

The following example creates a generic automation principal for the "CORP\Administrator" user with private key file path.

Script

Impersonation createAutomationPrincipalWithPrivateKey CorpDomainAdmin "CORP domain administrator" administrator CORP //.ssh/id_rsa
Was this page helpful? Yes No Submitting... Thank you

Comments