> ## Documentation Index
> Fetch the complete documentation index at: https://lava.so/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Doppler

> Secrets management platform API for managing environment variables, configs, and secrets across projects and environments.

Secrets management platform API for managing environment variables, configs, and secrets across projects and environments. Best for DevOps automation workflows — rotating secrets, syncing environment configs, and auditing access.

5 example endpoints available through Lava's AI Gateway. See the [Doppler API docs](https://docs.doppler.com/reference/api) for full documentation.

<Warning>This provider requires your own credentials — connect your API key or OAuth account before use.</Warning>

<Info>This is a **catch-all provider** — any valid URL under `https://api.doppler.com` is supported. Doppler REST API. Use GET/POST/PUT/DELETE on any /v3/\* endpoint. The endpoints below are curated examples.</Info>

## Endpoints

### List secrets for a config

**GET** `https://api.doppler.com/v3/configs/config/secrets?project=my-project&config=production` — Free

<Tabs>
  <Tab title="SDK">
    ```typescript theme={null}
    const data = await lava.gateway('https://api.doppler.com/v3/configs/config/secrets?project=my-project&config=production', { method: 'GET' });
    ```
  </Tab>

  <Tab title="cURL">
    ```bash theme={null}
    curl "https://api.lava.so/v1/forward?u=https%3A%2F%2Fapi.doppler.com%2Fv3%2Fconfigs%2Fconfig%2Fsecrets%3Fproject%3Dmy-project%26config%3Dproduction" \
      -H "Authorization: Bearer $LAVA_SECRET_KEY"
    ```
  </Tab>
</Tabs>

### List all projects

**GET** `https://api.doppler.com/v3/projects` — Free

<Tabs>
  <Tab title="SDK">
    ```typescript theme={null}
    const data = await lava.gateway('https://api.doppler.com/v3/projects', { method: 'GET' });
    ```
  </Tab>

  <Tab title="cURL">
    ```bash theme={null}
    curl "https://api.lava.so/v1/forward?u=https%3A%2F%2Fapi.doppler.com%2Fv3%2Fprojects" \
      -H "Authorization: Bearer $LAVA_SECRET_KEY"
    ```
  </Tab>
</Tabs>

### Create a project

**POST** `https://api.doppler.com/v3/projects` — Free

<Tabs>
  <Tab title="SDK">
    ```typescript theme={null}
    const data = await lava.gateway('https://api.doppler.com/v3/projects', { body: {"name":"my-project"} });
    ```
  </Tab>

  <Tab title="cURL">
    ```bash theme={null}
    curl -X POST "https://api.lava.so/v1/forward?u=https%3A%2F%2Fapi.doppler.com%2Fv3%2Fprojects" \
      -H "Authorization: Bearer $LAVA_SECRET_KEY" \
      -H "Content-Type: application/json" \
      -d '{"name":"my-project"}'
    ```
  </Tab>
</Tabs>

### Update secrets for a config

**PUT** `https://api.doppler.com/v3/configs/config/secrets` — Free

<Tabs>
  <Tab title="SDK">
    ```typescript theme={null}
    const data = await lava.gateway('https://api.doppler.com/v3/configs/config/secrets', {
      method: 'PUT',
      body: {
    "project": "my-project",
    "config": "production",
    "secrets": {
      "API_KEY": "new-value"
    }
    },
    });
    ```
  </Tab>

  <Tab title="cURL">
    ```bash theme={null}
    curl -X PUT "https://api.lava.so/v1/forward?u=https%3A%2F%2Fapi.doppler.com%2Fv3%2Fconfigs%2Fconfig%2Fsecrets" \
      -H "Authorization: Bearer $LAVA_SECRET_KEY" \
      -H "Content-Type: application/json" \
      -d '{"project":"my-project","config":"production","secrets":{"API_KEY":"new-value"}}'
    ```
  </Tab>
</Tabs>

### Delete a config

**DELETE** `https://api.doppler.com/v3/configs/config` — Free

<Tabs>
  <Tab title="SDK">
    ```typescript theme={null}
    const data = await lava.gateway('https://api.doppler.com/v3/configs/config', { method: 'DELETE', body: {"project":"my-project","config":"staging"} });
    ```
  </Tab>

  <Tab title="cURL">
    ```bash theme={null}
    curl -X DELETE "https://api.lava.so/v1/forward?u=https%3A%2F%2Fapi.doppler.com%2Fv3%2Fconfigs%2Fconfig" \
      -H "Authorization: Bearer $LAVA_SECRET_KEY" \
      -H "Content-Type: application/json" \
      -d '{"project":"my-project","config":"staging"}'
    ```
  </Tab>
</Tabs>

## Next Steps

<CardGroup cols={2}>
  <Card title="All Providers" icon="grid" href="/gateway/supported-providers">
    Browse all supported AI providers
  </Card>

  <Card title="Forward Proxy" icon="route" href="/gateway/forward-proxy">
    Learn how to construct proxy URLs and authenticate requests
  </Card>
</CardGroup>
