keyControl.Key
Object Description |
Represents the key. |
Supported Script Types |
Server scripts For more information, see SuiteScript 2.x Script Types. |
Module |
|
Methods and Properties |
|
Since |
2019.2 |
Syntax
Important:
The following code sample shows the syntax for this member. It is not a functional example. For a complete script example, see N/keyControl Module Script Samples.
// Add additional code
...
var key = keyControl.createKey();
key.file = file.load(422);
//id of file containing private key (id_ecdsa or id_rsa)
...
// Add additional code