UNPKG

@zowe/imperative

Version:
31 lines 1.22 kB
import { ICredentialManagerInit } from "../../../security"; /** * Options that will affect the behavior of the ProfileInfo class. * They are supplied on the ProfileInfo constructor. */ export interface IProfOpts { /** * TODO? Disable loading of secure properties in profiles. */ /** * Indicates if environment variables should override values * stored in Zowe configuration profiles on disk. * The default is false. */ overrideWithEnv?: boolean; /** * Overrides the credential manager class used to load and store secure * properties. If undefined, the default implementation is to use the * Imperative {@link KeytarCredentialManager} which will `require("keytar")` * from the caller app's node_modules folder. */ credMgrOverride?: ICredentialManagerInit; /** * This option allows the old behavior of only checking the active layer * in order to determine if credentials are to be stored securely. * When this option is true, the `isSecured` getter will return false if the active layer does not have secure properties * Default: false */ onlyCheckActiveLayer?: boolean; } //# sourceMappingURL=IProfOpts.d.ts.map