datarobot_genai.drmcputils.credentials
credentials
AuthResolutionStrategy
DataRobotCredentials
Bases: DataRobotAppFrameworkBaseSettings
DataRobot API credentials.
Loads from env vars (including MLOPS_RUNTIME_PARAM_*), .env, file secrets,
and pulumi_config.json. Fields map by name: datarobot_api_token reads
DATAROBOT_API_TOKEN, datarobot_endpoint reads DATAROBOT_ENDPOINT.
Source code in datarobot_genai/drmcputils/credentials.py
ToolsAuthCredentials
Bases: DataRobotAppFrameworkBaseSettings
Application credentials and auth resolution settings for tools.
Config fields are used when auth_resolution_strategy is config.
Use config only for personal, single-user agents; shared deployments should
use http so each caller supplies their own credentials via request headers.
See docs/drtools/auth.md for strategy details.
Source code in datarobot_genai/drmcputils/credentials.py
has_datarobot_credentials
get_credentials
Get the global credentials instance.