# EnvVar<!-- -->

An environment variable of an Actor version.

### Hierarchy

* GeneratedEnvVar
  * *EnvVar*

## Index[](#Index)

### Properties

* [isSecret](#isSecret)
* [name](#name)
* [value](#value)
* [valueHash](#valueHash)

## Properties<!-- -->[](#Properties)

### [](#isSecret)[](https://github.com/apify/apify-client-js/blob/af7590882995a0bde27cc341c79f21d08bec1e56/src/generated/api.ts#L5314)optionalinheritedisSecret

isSecret?

<!-- -->

: null | boolean

Inherited from GeneratedEnvVar.isSecret

```
false
```

Whether the environment variable is encrypted. Secret values aren't returned by the API.

### [](#name)[](https://github.com/apify/apify-client-js/blob/af7590882995a0bde27cc341c79f21d08bec1e56/src/generated/api.ts#L5304)inheritedname

name: string

Inherited from GeneratedEnvVar.name

```
MY_ENV_VAR
```

The name of the environment variable.

### [](#value)[](https://github.com/apify/apify-client-js/blob/af7590882995a0bde27cc341c79f21d08bec1e56/src/generated/api.ts#L5309)optionalinheritedvalue

value?

<!-- -->

: string

Inherited from GeneratedEnvVar.value

```
my-value
```

The value of the environment variable. If `isSecret` is `true`, this value isn't returned by the API.

### [](#valueHash)[](https://github.com/apify/apify-client-js/blob/af7590882995a0bde27cc341c79f21d08bec1e56/src/generated/api.ts#L5319)optionalinheritedvalueHash

valueHash?

<!-- -->

: string

Inherited from GeneratedEnvVar.valueHash

```
a1b2c3
```

A short hash of the secret value, to detect value changes. Returned only for secret environment variables, in place of `value`.
