CredentialsLocation Parameter (Connect-UMSaaSCloud Cmdlet)
The location of the settings file where token retrieved with OKTA MFA is saved.
Syntax
Connect-UMSaaSCloud -CredentialsLocation string
Data Type
cstr
Default Value
"%APPDATA%\\CData\\UMSaaSCloud Data Provider\\CredentialsFile.txt"
Remarks
Tokens retireved with OKTA MFA are short lived and typically expire after two hours. At that point, the driver will issue request for a new MFAPasscode which should be reissued in a new connection.
If left unspecified, the default location is "%APPDATA%\\CData\\UMSaaSCloud Data Provider\\CredentialsFile.txt" with %APPDATA% being set to the user's configuration directory:
Platform | %APPDATA% |
Windows | The value of the APPDATA environment variable |
Mac | ~/.config |
Linux | ~/.config |