# Environment variables

> Environment variables the Stackable secret operator accepts, including the required CSI endpoint socket, with what each one controls and its default.

This operator accepts the following environment variables:

## CSI\_ENDPOINT

**Required**: true

**Multiple values**: false

The path to the [Container Storage Interface](https://github.com/container-storage-interface/spec/blob/master/spec.md) Unix Domain Socket that the operator should listen on.

```
export CSI_ENDPOINT=unix:///csi.sock
cargo run -- run
```

## KUBERNETES\_CLUSTER\_DOMAIN

**Default value**: cluster.local

**Required**: false

**Multiple values**: false

This instructs the operator, which value it should use for the Kubernetes `clusterDomain` setting. Make sure to keep this in sync with whatever setting your cluster uses. Please see the documentation [on configuring the Kubernetes cluster domain](https://docs.stackable.tech/home/stable/guides/kubernetes-cluster-domain/index.md) for more information on this feature.

```
export KUBERNETES_CLUSTER_DOMAIN=mycluster.local
cargo run -- run
```
