extractSecureProperties

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

Extracts secure properties from secure store by zowe config file path in current instance.

Return

Nothing.

See also

ZoweConfig.readZoweCredentialsFromStorage

Parameters

filePath

path of zowe.config.json file. Secure props will be extracted by this parameter.

keytar

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


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

Extracts secure properties from secure store by zowe config file path in current instance.

Return

Nothing.

See also

ZoweConfig.readZoweCredentialsFromStorage

Parameters

filePathTokens

path of zowe.config.json file splitted by delimiter. Secure props will be extracted by this parameter.

keytar

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