---
title: "Get deployment environment variables"
method: GET
path: "/v1/container-deployments/{deployment_name}/environment-variables"
tags: ["Serverless Containers"]
---

# Get deployment environment variables

`GET /v1/container-deployments/{deployment_name}/environment-variables`

## Path parameters

- `deployment_name` string, required

## Response `200`

Returns the environment variables for all containers of the deployment

- GetDeploymentEnvVariablesPublicApiResponseDto[]
  - `container_name` string, required — Container name
  - `env` EnvVarPublicApi[], required — Environment variables for the container
    - `name` string, required — Name of the environment variable
    - `value_or_reference_to_secret` string, required — Value of the environment variable, or a reference to the secret
    - `type` 'plain' | 'secret', required — Type of the environment variable

## Other responses

- `401` — Unauthorized

---

[API](https://skmtc.net/datacrunch/apis/verda-cloud-public-api.md) · [All operations](https://skmtc.net/datacrunch/apis/verda-cloud-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/datacrunch/verda-cloud-public-api/revisions/0d66c7340876/schema)
