---
title: "show env vars"
method: GET
path: "/api/v0/secrets/"
tags: ["Accounts"]
---

# show env vars

`GET /api/v0/secrets/`

Retrieve a list of environment variables (secrets) for the authenticated user.

CLI Usage: `vastai show env-vars [-s]`

## Response `200`

Success response with user secrets

- object
  - `success` boolean
  - `secrets` object

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `429` — Too Many Requests

---

[API](https://skmtc.net/vast/apis/vast-ai-api.md) · [All operations](https://skmtc.net/vast/apis/vast-ai-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/vast/vast-ai-api/revisions/4ed14f79f796/schema)
