CredentialsLocation
Specifies the location of the file where multi-factor authentication (MFA) credentials are stored.
データ型
string
デフォルト値
"%APPDATA%\\CData\\ServiceNow Data Provider\\CredentialsFile.txt"
解説
MFA credentials are temporary and typically expire after one hour. When they expire, a new MFA passcode or token value must be provided to reconnect. This property is only used when MFA is required by the selected SSO flow, such as Okta.
Because MFA tokens are single use, multi-threaded or multi-process applications should store credentials in a shared, central file to prevent invalid token reuse.
If not set, the default location is %APPDATA%\\CData\\ServiceNow Data Provider\\CredentialsFile.txt, where %APPDATA% resolves to the user’s configuration directory:
| Platform | %APPDATA% |
| Windows | The value of the APPDATA environment variable |
| Linux | ~/.config |
This property is useful for environments where MFA tokens are required for SSO authentication with ServiceNow.