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

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC Server Automation Command Line Interface 8.7