Username, email address, or service-principal client ID used to authenticate with the control plane.
Uid=<username>
## Required (with one of `Pwd`, `Token`, or a stored credential) `Uid=` identifies the user the driver authenticates as. Combined with `Pwd=` (password), `Token=` (bearer), or a stored credential in the OS keychain, it forms a complete authentication request. ## Format The driver sends `Uid=` to the control plane untouched. The control plane's auth provider chooses how to interpret it; supply the value in whatever form your provider expects (email, username, account ID). ## Aliases The parser also accepts `User=` and `User ID=` as alternative spellings for compatibility with connection strings copied from SQL Server tooling. They map to the native `Uid=` key. ## Interaction with credential storage When `Pwd=` is omitted, the driver looks up `Pwd:<Uid>` in the OS secret store under the DSN namespace. Two DSNs with the same `Uid` but different stored secrets are kept distinct because the lookup is namespaced by DSN name; see `ODBC_CRED_STORE`.
| Name | Type | Description |
|---|---|---|
Uid | The user identity to authenticate as. Format depends on the auth provider: an email for human users, a UUID-like client ID for service principals, or a username for legacy directories. The driver does not transform this value; it is passed verbatim to the control plane. |
Uid=alice@example.com
Uid=svc-etl-prod-001