Skip to content

Commit

Permalink
intro for specs
Browse files Browse the repository at this point in the history
  • Loading branch information
AstrakhantsevaAA committed Oct 27, 2023
1 parent 8acf9bc commit aa52d9a
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion docs/website/docs/general-usage/credentials/config_specs.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit aa52d9a

Please sign in to comment.