dlt
How to get these credentialsCredentials and config for a dlt source, kept in memory and handed to dlt's config resolution.
CREATE SECRET dlt (
TYPE dlt,
config '<DLT_CONFIG>' -- required, secret
);
| Key | Type | Required | Description |
|---|---|---|---|
| config secret | VARCHAR | Yes | A JSON object or TOML text. For the rest_api source it is deep-merged into the REST config (e.g. {"client": {"auth": {"type": "bearer", "token": "..."}}}); for every source it is also read like dlt's secrets.toml (e.g. [sources.github] access_token). Bind it with SCOPE 'dlt://rest_api/<host>' or 'dlt://<package>/<module>/<function>' (or a prefix of it that ends at a '/'). |