> This page is for Server SDKs.

> Fetch clean Markdown by appending `.md` to any page URL under https://signalwire.com/docs or requesting it with the HTTP header `Accept: text/markdown`. The root index at https://signalwire.com/docs/llms.txt lists the available documentation indexes.

# get_section

> Get an entire configuration section with environment variables substituted.

Get an entire configuration section with all environment variables substituted.

## **Parameters**

**`section`** `str` — required

The top-level section name (e.g., `"security"`, `"server"`, `"session"`).

---

## **Returns**

`dict[str, Any]` -- The section contents with all variables substituted, or an
empty dict if the section does not exist.

## **Example**

```python {4}
from signalwire.core.config_loader import ConfigLoader

loader = ConfigLoader(["config.json"])
security = loader.get_section("security")

print(security)
# {"ssl_enabled": True, "cors_origins": ["https://app.example.com"], ...}
```