---
title: "Lists existing environment variables of specified project"
method: GET
path: "/apiops/projects/{projectName}/environmentVariables/"
tags: ["EnvironmentVariable"]
---

# Lists existing environment variables of specified project

`GET /apiops/projects/{projectName}/environmentVariables/`

## Request

- Base URL: `http://167.86.118.166:32080`
- URL: `http://167.86.118.166:32080/apiops/projects/{projectName}/environmentVariables/`
- Auth: none declared
- TypeScript: <https://skmtc.dev/apinizer/apis/apinizer-management-apis/docs/apiops/projects/:projectName/environmentVariables/get.ts> (a function with typed inputs; its response is checked against the schema)

Lists existing environment variables of specified project. All values are stored encrypted at rest. Values that are NOT marked secret (visible=true) are returned decrypted so a CI/CD pipeline can read the real configuration; values marked secret (visible=false) are always returned as null and can never be read back.

## Path parameters

- `projectName` string, required

## Response `200`

successful operation!

- ApiOpsResponseEnvironmentVariable
  - `status` 'SUCCESS' | 'FAILURE'
  - `resultMessage` string
  - `resultList` EnvironmentVariableDTO[]
    - `projectId` string
    - `name` string
    - `environmentValueList` EnvironmentValueDTO[]
      - `value` string
      - `visible` boolean
      - `environmentName` string
    - `description` string
    - `global` boolean
    - `globalValue` string
    - `globalVisible` boolean
    - `projectName` string
  - `resultCount` integer

## Other responses

- `401`: not authorized for this operation!
- `500`: internal error!

---

[API](https://skmtc.dev/apinizer/apis/apinizer-management-apis.md) - [All operations](https://skmtc.dev/apinizer/apis/apinizer-management-apis/llms.txt) - [OpenAPI document](https://skmtc.dev/apinizer/apis/apinizer-management-apis/revisions/e083046b24cd?raw)
