Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ProfileCredentials

Hierarchy

  • ProfileCredentials

Index

Constructors

constructor

Properties

Private mProfileInfo

mProfileInfo: ProfileInfo

Private Optional mRequireKeytar

mRequireKeytar: () => NodeModule

Type declaration

    • (): NodeModule
    • Returns NodeModule

Private mSecured

mSecured: boolean

Accessors

isSecured

  • get isSecured(): boolean
  • Check if secure credentials will be encrypted or stored in plain text. If using team config, this will always return true. If using classic profiles, this will check whether a custom CredentialManager is defined in the Imperative settings.json file.

    Returns boolean

Methods

Private isCredentialManagerInAppSettings

  • isCredentialManagerInAppSettings(): boolean

Private isTeamConfigSecure

  • isTeamConfigSecure(): boolean

loadManager

  • Initialize credential manager to be used for secure credential storage. This method throws if ProfileCredentials.isSecured is false. If the CredentialManagerFactory is already initialized, it is reused since it is not possible to reinitialize.

    Returns Promise<void>

Generated using TypeDoc