Skip to main content
To configure credentials, you can set environment variables directly in your code, use the configure() helper to set them for the process, or use the config() context manager to set them for a single context.

Environment variables

If you’re setting environment variables directly, you can set the following. The SDK will use them at runtime:

Direct calls

If you’re using the configure() helper, you can pass in the credentials directly:

Context manager

You can also use the config() context manager when you need a one-off override—for example, to bump timeouts or retries around a specific call:

Configurable fields

Fields for configure() as a standalone function or the config() context manager: Settings resolve in this order: per-call arguments → decorator defaults → configure / context manager → environment variables → library defaults.