Connect a provider that CostGraph pulls billing data from
Verifies the credentials by reading a day of billing data, then stores them encrypted and schedules a daily pull. Send exactly one of env with the provider’s settings, credential_source_connection_id naming an existing connection in the same tenant whose credential this one reuses (the provider’s credential_from lists which providers qualify). GitHub connects only by installing the CostGraph GitHub App, which also connects GitHub Actions jobs for the same organization; providers with managed_by set cannot be connected on their own. Blacksmith connects only when GitHub is connected for the same organization in the tenant. enable_recommendations (default true) turns savings recommendations off for providers that have them. sub_account_id limits the connection to one project, account or subscription inside the billing account, so other tenants can connect the others. A tenant cannot connect both a project and its whole billing account: a connection without it covers the whole billing account. The same account can be connected in several tenants, and its cost counts in each. Credentials are never returned.
Body
Provider connection