---
title: Config
sidebar_label: Config
sidebar_position: 1
---

> ## Documentation Index
> Fetch the complete documentation index at: https://docs.lium.io/llms.txt
> Use this file to discover all available pages before exploring further.

<!-- Generated by scripts/generate_sdk_reference.py. Do not edit directly. -->

# Config

```python
from lium.sdk import Config
```

Defined in `lium.sdk.config`.

```python
Config(
    api_key: str,
    base_url: str = 'https://lium.io/api',
    base_pay_url: str = 'https://pay-api.lium.io',
    ssh_key_path: Optional[pathlib.Path] = None
)
```

## Fields

| Name | Type | Default |
| --- | --- | --- |
| `api_key` | str |  |
| `base_url` | str | `'https://lium.io/api'` |
| `base_pay_url` | str | `'https://pay-api.lium.io'` |
| `ssh_key_path` | Optional[pathlib.Path] | `None` |

## Properties

| Name | Type | Description |
| --- | --- | --- |
| `ssh_public_keys` | List[str] | Get SSH public keys. |

## Methods

| Method | Description |
| --- | --- |
| [`load`](#load) | Load config from env/file with smart defaults. |

### load

```python
def load(cls) -> lium.sdk.config.Config:
```

Load config from env/file with smart defaults.
