prefect_dbt.cloud.credentials
Module containing credentials for interacting with dbt Cloud
Classes
DbtCloudCredentials
Credentials block for credential use across dbt Cloud tasks and flows.
Attributes:
api_key: API key to authenticate with the dbt Cloud administrative API. Refer to the Authentication docs for retrieving the API key.account_id: ID of dbt Cloud account with which to interact.domain: Domain at which the dbt Cloud API is hosted.
get_administrative_client
- An authenticated dbt Cloud administrative API client.
get_client
client_type: Type of client to return. Accepts either ‘administrative’ or ‘metadata’.
- The authenticated client of the requested type.
get_metadata_client
- An authenticated dbt Cloud metadata API client.