datarobot_genai.nat.datarobot_auth_provider
datarobot_auth_provider
Config
Bases: DataRobotAppFrameworkBaseSettings
Finds variables in the priority order of: env variables (including Runtime Parameters), .env, file_secrets, then Pulumi output variables.
Source code in datarobot_genai/nat/datarobot_auth_provider.py
DataRobotMCPAuthProvider
Bases: AuthProviderBase[DataRobotMCPAuthProviderConfig]
Source code in datarobot_genai/nat/datarobot_auth_provider.py
authenticate
async
Authenticate the user using the API key credentials.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
user_id
|
str
|
The user ID to authenticate. |
None
|
Returns
AuthenticatedContext: The authenticated context containing headers