Impersonation - updateAutomationPrincipalPrivateKeyFile

Impersonation - updateAutomationPrincipalPrivateKeyFile

Description :

Updates the private key file path of an automation principal. 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.

privateKeyFilePath

String

The nsh path of the private key file.

Example:

The following example sets the private key file path of "CorpDomainAdmin" to "//host/.ssh/id_rsa".

Script

Impersonation updateAutomationPrincipalPrivateKeyFile CorpDomainAdmin "//host/.ssh/id_rsa"
Was this page helpful? Yes No Submitting... Thank you

Comments