saveSecureProperties

fun saveSecureProperties(filePath: String, keytar: KeytarWrapper = DefaultKeytarWrapper())

Updates secure object for provided file in credential object and save these changes to credential storage.

Return

Nothing.

See also

ZoweConfig.readZoweCredentialsFromStorage

Parameters

filePath

path of zowe.config.json file. Secure props will be saved inside this property of connection object.

keytar

instance of KeytarWrapper. This param is needed for accessing credential storage.


fun saveSecureProperties(filePathTokens: Array<String>, keytar: KeytarWrapper = DefaultKeytarWrapper())

Updates secure object for provided file in credential object and save these changes to credential storage.

Return

Nothing.

See also

ZoweConfig.readZoweCredentialsFromStorage

Parameters

filePath

path of zowe.config.json file splitted by delimiter. Secure props will be saved inside this property of connection object.

keytar

instance of KeytarWrapper. This param is needed for accessing credential storage.