---
title: envs | CodeWeaver Docs
description: API reference for codeweaver.core.config.envs
url: "https://docs.knitli.com/api/core/config/envs"
type: static
generatedAt: "2026-04-17T17:21:07.891Z"
---

# envs
       [Open in ChatGPT](https://chatgpt.com/?q=Read%20https%3A%2F%2Fdocs.knitli.com%2Fcodeweaver%2Fapi%2Fcore%2Fconfig%2Fenvs%2F.%20I%20want%20to%20ask%20questions%20about%20it.)[Open in Claude](https://claude.ai/new?q=Read%20https%3A%2F%2Fdocs.knitli.com%2Fcodeweaver%2Fapi%2Fcore%2Fconfig%2Fenvs%2F.%20I%20want%20to%20ask%20questions%20about%20it.)[View in Markdown](/codeweaver/api/core/config/envs.md)       [Share on LinkedIn](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fdocs.knitli.com%2Fcodeweaver%2Fapi%2Fcore%2Fconfig%2Fenvs%2F)[Share on X](https://x.com/intent/tweet?url=https%3A%2F%2Fdocs.knitli.com%2Fcodeweaver%2Fapi%2Fcore%2Fconfig%2Fenvs%2F&text=envs)[Share on Threads](https://threads.net/intent/post?url=https%3A%2F%2Fdocs.knitli.com%2Fcodeweaver%2Fapi%2Fcore%2Fconfig%2Fenvs%2F&text=envs)[Share on Bluesky](https://bsky.app/intent/compose?text=envs%20https%3A%2F%2Fdocs.knitli.com%2Fcodeweaver%2Fapi%2Fcore%2Fconfig%2Fenvs%2F)[Share on Facebook](https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fdocs.knitli.com%2Fcodeweaver%2Fapi%2Fcore%2Fconfig%2Fenvs%2F)[Share on Reddit](https://reddit.com/submit?url=https%3A%2F%2Fdocs.knitli.com%2Fcodeweaver%2Fapi%2Fcore%2Fconfig%2Fenvs%2F&title=envs)[Share on Hacker News](https://news.ycombinator.com/submitlink?u=https%3A%2F%2Fdocs.knitli.com%2Fcodeweaver%2Fapi%2Fcore%2Fconfig%2Fenvs%2F&t=envs)[Share on Email](mailto:?subject=envs&body=https%3A%2F%2Fdocs.knitli.com%2Fcodeweaver%2Fapi%2Fcore%2Fconfig%2Fenvs%2F)[Share on WhatsApp](https://wa.me/?text=envs%20https%3A%2F%2Fdocs.knitli.com%2Fcodeweaver%2Fapi%2Fcore%2Fconfig%2Fenvs%2F)[Share on Telegram](https://t.me/share/url?url=https%3A%2F%2Fdocs.knitli.com%2Fcodeweaver%2Fapi%2Fcore%2Fconfig%2Fenvs%2F&text=envs)
# `codeweaver.core.config.envs`
[Section titled “codeweaver.core.config.envs”](#codeweavercoreconfigenvs)
Environment variables for codeweaver configuration.

## Class: `SetProviderEnvVarsDict`
[Section titled “Class: SetProviderEnvVarsDict”](#class-setproviderenvvarsdict)
Dictionary of provider environment variables.

## Class: `SettingsEnvVars`
[Section titled “Class: SettingsEnvVars”](#class-settingsenvvars)
Environment variables for CodeWeaver settings.

### Method: `from_defaults`
[Section titled “Method: from_defaults”](#method-from_defaults)

**

```
from_defaults()
```

Create SettingsEnvVars with built-in defaults.

### Method: `resolved_values`
[Section titled “Method: resolved_values”](#method-resolved_values)

**

```
resolved_values()
```

Get resolved environment variable values.

## Function: `as_cloud_string`
[Section titled “Function: as_cloud_string”](#function-as_cloud_string)

**

```
as_cloud_string()
```

Format a provider name to indicate it’s a cloud-only provider.

## Function: `environment_variables`
[Section titled “Function: environment_variables”](#function-environment_variables)

**

```
environment_variables()
```

Get environment variables for CodeWeaver settings.

## Function: `get_provider_vars`
[Section titled “Function: get_provider_vars”](#function-get_provider_vars)

**

```
get_provider_vars()
```

Get all environment variable names related to providers.