Modules

filter

 

Objects/Functions

module (N/keyControl)

SuiteScript 2.0

keyControl.Key

// Please search https://system.netsuite.com/app/help/helpcenter.nl?search=keyControl.Key for more information.

N/keyControl Module
keyControl.Key
Object Description: Represents the key.
Supported Script Types: Server-side scripts For more information, see SuiteScript 2.0 Script Types.
Module: N/keyControl Module
Methods and Properties: Key Object Members
Since: 2019.2
Search NetSuite - https://system.netsuite.com/app/help/helpcenter.nl?search=keyControl.Key

Example:

// Code Example 1
// 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

//SOURCE: https://system.netsuite.com/app/help/helpcenter.nl?fid=section_156035916506.html