> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.nvidia.com/nemo/fabric/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.nvidia.com/nemo/fabric/_mcp/server.

# Struct Environment Config

> Execution environment configuration.

Generated from `cargo doc --no-deps -p nemo-fabric-core`.

<pre />

Execution environment configuration.

## Fields

### `provider: String`

Environment provider, for example `local`, `docker`, `opensandbox`, or `k8s`.

### `control_location: ControlLocation`

Where NeMo Fabric control code runs relative to the environment.

### `ownership: EnvironmentOwnership`

Whether NeMo Fabric owns the environment resource.

### `workspace: Option<PathBuf>`

Workspace path inside or outside the provider.

### `artifacts: Option<PathBuf>`

Artifact path inside or outside the provider.

### `env: BTreeMap<String, String>`

Environment variables visible to the harness and its tools.

Values are serialized into the run plan and can appear wherever configs or plans are logged or persisted. Prefer `api_key_env`-style environment-variable-name indirection for credentials.

### `connection: Map<String, Value>`

Provider connection metadata, such as server URL, credential reference, or namespace.

### `metadata: Map<String, Value>`

Consumer-provided environment metadata.

### `settings: Map<String, Value>`

Provider-specific settings.

### `extensions: BTreeMap<String, Value>`

Additive normalized environment fields.

## Trait Implementations

### `impl Clone for EnvironmentConfig`

<pre />

#### `clone`

<pre />

#### `clone_from`

<pre />

### `impl Debug for EnvironmentConfig`

<pre />

#### `fmt`

<pre />

### `impl<'de> Deserialize<'de> for EnvironmentConfig`

<pre />

#### `deserialize`

<pre />

### `impl JsonSchema for EnvironmentConfig`

<pre />

#### `schema_name`

<pre />

#### `schema_id`

<pre />

#### `json_schema`

<pre />

#### `inline_schema`

<pre />

### `impl PartialEq for EnvironmentConfig`

<pre />

#### `eq`

<pre />

#### `ne`

<pre />

### `impl Serialize for EnvironmentConfig`

<pre />

#### `serialize`

<pre />

### `impl StructuralPartialEq for EnvironmentConfig`

<pre />