ADO.NET Provider for Vault CRM

Build 26.0.9655

CredentialsLocation

Specifies the location of the file where session-id is stored.

Data Type

string

Default Value

"%APPDATA%\\CData\\VaultCRM Data Provider\\CredentialsFile.txt"

Remarks

When set, the provider caches the session-id returned by Vault CRM's /auth endpoint in the location identified by this property. Subsequent connections opened from the same connection string read the cached session-id from this store and reuse it, avoiding a fresh /auth call on every connection open.

This applies to every authentication scheme that produces a session-id, including Basic, OKTA, AzureAD, and PingFederateClient.

The value may be either:

  • A file path — the session id is persisted to disk at that path and is available to other processes that use the same connection string.
  • A URI of the form memory://<key> — the session id is cached in process memory only, scoped to the supplied key, and is not shared across processes.

If not set, the default location is %APPDATA%\\CData\\VaultCRM Data Provider\\CredentialsFile.txt, where %APPDATA% resolves to the user's configuration directory:

Platform %APPDATA%
Windows The value of the APPDATA environment variable
Mac ~/.config
Linux ~/.config

This property is useful for environments where multiple instances of the same connection exist and the same session-id can be reused acrossed connections.

Copyright (c) 2026 CData Software, Inc. - All rights reserved.
Build 26.0.9655