From aa52d9a58aeae2f6419cb81e75291d1ac95435fe Mon Sep 17 00:00:00 2001 From: AstrakhantsevaAA Date: Fri, 27 Oct 2023 14:12:14 +0200 Subject: [PATCH] intro for specs --- .../docs/general-usage/credentials/config_specs.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/docs/website/docs/general-usage/credentials/config_specs.md b/docs/website/docs/general-usage/credentials/config_specs.md index fd55502abd..6962ef402d 100644 --- a/docs/website/docs/general-usage/credentials/config_specs.md +++ b/docs/website/docs/general-usage/credentials/config_specs.md @@ -7,9 +7,16 @@ keywords: [credentials, secrets.toml, secrets, config, configuration, environmen # Configuration Specs +Configuration Specs in `dlt` are Python `dataclasses` that define how complex configuration values, +particularly credentials, should be handled. +They specify the types, defaults, and parsing methods for these values. + ## Working with credentials (and other complex configuration values) -Example: +For example, a spec like `GcpServiceAccountCredentials` manages Google Cloud Platform +service account credentials, while `ConnectionStringCredentials` handles database connection strings. + +### Example ```python import dlt