Doppler

App · 25 actions

Read and set secrets in Doppler, manage projects, environments and configs, roll back changes, and follow new projects, configs, secrets and changes.

Actions

ActionWhat it does
Clone configCopy a branch config and all its secrets to a new branch config.
Create configCreate a branch config under an environment's root config.
Create environmentAdd an environment to a project, with a root config of the same slug.
Create projectCreate a project.
Delete configDelete a branch config and its secrets.
Delete environmentDelete an environment with its configs and their secrets.
Delete projectDelete a project with all its environments, configs and secrets.
Delete secretDelete one secret from a config.
Download secretsGet a config's secrets as plain name and value pairs, ready to use, with names in the case you choose.
Get configGet a config's environment, lock state and when it was last read.
Get projectGet a project's name and description.
Get secretGet one secret's raw value, computed value (with references filled in) and note.
Get token detailsSee the connected token's name, type and workplace.
List activity logsList the workplace's activity, newest first: changes to projects, environments, configs and members.
List config logsList a config's change history, newest first: who changed which secrets and when.
List configsList a project's configs, optionally in one environment.
List environmentsList a project's environments.
List projectsList the workplace's projects.
List secretsGet a config's secrets, each with its raw value, computed value and note, by name.
Lock configStop a config from being renamed or deleted.
Rename configRename a branch config.
Roll back config changeUndo one change to a config's secrets, as recorded in its change history.
Set secretsAdd or change secrets in a config.
Unlock configLet a locked config be renamed or deleted again.
Update projectRename a project or change its description.

Clone config

Copy a branch config and all its secrets to a new branch config.

Inputs

ProjectprojecttextRequired
The Doppler project.
ConfigconfigtextRequired
The config, such as dev or prd.
New config namenametextRequired
The new config's name, starting with the environment, such as dev_copy.

Outputs

dataobject
The response from Doppler.
Example output
{
  "data": {
    "config": {
      "created_at": "example",
      "environment": "example",
      "initial_fetch_at": "example",
      "last_fetch_at": "example",
      "locked": true,
      "name": "example",
      "project": "example",
      "root": true
    }
  }
}

Create config

Create a branch config under an environment's root config. It inherits the root config's secrets.

Inputs

ProjectprojecttextRequired
The Doppler project.
EnvironmentenvironmenttextRequired
The environment, such as dev.
NamenametextRequired
The branch config's name. Doppler starts it with the environment, so aws in dev becomes dev_aws.

Outputs

dataobject
The response from Doppler.
Example output
{
  "data": {
    "config": {
      "created_at": "example",
      "environment": "example",
      "initial_fetch_at": "example",
      "last_fetch_at": "example",
      "locked": true,
      "name": "example",
      "project": "example",
      "root": true
    }
  }
}

Create environment

Add an environment to a project, with a root config of the same slug.

Inputs

ProjectprojecttextRequired
The Doppler project.
NamenametextRequired
The environment's name, such as QA.
SlugslugtextRequired
A short identifier, such as qa. Its configs' names start with it.
Personal configspersonal_configstrue/false
Give each team member a personal config in this environment.

Outputs

dataobject
The response from Doppler.
Example output
{
  "data": {
    "environment": {
      "created_at": "example",
      "id": "example",
      "initial_fetch_at": "example",
      "name": "example",
      "project": "example",
      "slug": "example"
    }
  }
}

Create project

Create a project. Doppler gives it Development, Staging and Production environments and configs.

Inputs

NamenametextRequired
The project's name. Doppler recommends lowercase words joined by hyphens, such as billing-api.
Descriptiondescriptiontext
What the project is for.

Outputs

dataobject
The response from Doppler.
Example output
{
  "data": {
    "project": {
      "created_at": "example",
      "description": "example",
      "id": "example",
      "name": "example",
      "slug": "example"
    }
  }
}

Delete config

Delete a branch config and its secrets. This can't be undone.

Inputs

ProjectprojecttextRequired
The Doppler project.
ConfigconfigtextRequired
The config, such as dev or prd.

Outputs

dataobject
The response from Doppler.
Example output
{
  "data": {
    "success": true
  }
}

Delete environment

Delete an environment with its configs and their secrets. This can't be undone.

Inputs

ProjectprojecttextRequired
The Doppler project.
EnvironmentenvironmenttextRequired
The environment, such as dev.

Outputs

dataobject
The response from Doppler.
Example output
{
  "data": {
    "success": true
  }
}

Delete project

Delete a project with all its environments, configs and secrets. This can't be undone.

Inputs

ProjectprojecttextRequired
The Doppler project.

Outputs

dataobject
The response from Doppler.
Example output
{
  "data": {
    "success": true
  }
}

Delete secret

Delete one secret from a config.

Inputs

ProjectprojecttextRequired
The Doppler project.
ConfigconfigtextRequired
The config, such as dev or prd.
SecretnametextRequired
The secret's name.

Outputs

dataobject
The response from Doppler.
Example output
{
  "data": {}
}

Download secrets

Get a config's secrets as plain name and value pairs, ready to use, with names in the case you choose.

Inputs

ProjectprojecttextRequired
The Doppler project.
ConfigconfigtextRequired
The config, such as dev or prd.
Secretssecret_nameslist
Only these secrets. Leave empty for all of them.
Name formatname_transformertext
Change the case of every name. Leave empty to keep the names as they are.One of: camel (camelCase), upper-camel (UpperCamelCase), lower-snake (lower_snake_case), tf-var (Terraform variables (TF_VAR_name)), dotnet (.NET (Name__Key)), dotnet-env (.NET environment (Name__Key)), lower-kebab (lower-kebab-case).

Outputs

dataobject
The response from Doppler.
Example output
{
  "data": {}
}

Get config

Get a config's environment, lock state and when it was last read.

Inputs

ProjectprojecttextRequired
The Doppler project.
ConfigconfigtextRequired
The config, such as dev or prd.

Outputs

dataobject
The response from Doppler.
Example output
{
  "data": {
    "config": {
      "created_at": "example",
      "environment": "example",
      "initial_fetch_at": "example",
      "last_fetch_at": "example",
      "locked": true,
      "name": "example",
      "project": "example",
      "root": true
    }
  }
}

Get project

Get a project's name and description.

Inputs

ProjectprojecttextRequired
The Doppler project.

Outputs

dataobject
The response from Doppler.
Example output
{
  "data": {
    "project": {
      "created_at": "example",
      "description": "example",
      "id": "example",
      "name": "example",
      "slug": "example"
    }
  }
}

Get secret

Get one secret's raw value, computed value (with references filled in) and note.

Inputs

ProjectprojecttextRequired
The Doppler project.
ConfigconfigtextRequired
The config, such as dev or prd.
SecretnametextRequired
The secret's name, such as STRIPE_KEY.

Outputs

dataobject
The response from Doppler.
Example output
{
  "data": {
    "name": "example",
    "value": {
      "computed": "example",
      "note": "example",
      "raw": "example"
    }
  }
}

Get token details

See the connected token's name, type and workplace.

Inputs

None.

Outputs

dataobject
The response from Doppler.
Example output
{
  "data": {
    "created_at": "example",
    "last_seen_at": "example",
    "name": "example",
    "slug": "example",
    "token_preview": "example",
    "type": "example",
    "workplace": {
      "name": "example",
      "slug": "example"
    }
  }
}

List activity logs

List the workplace's activity, newest first: changes to projects, environments, configs and members.

Inputs

Pagepagenumber
Which page of activity logs to read, starting at 1.At least 1.
Per pageper_pagenumber
How many activity logs to return on a page. Doppler's default is 20.From 1 to 100.

Outputs

dataobject
The response from Doppler.
Example output
{
  "data": {
    "logs": [
      {
        "config": "example",
        "created_at": "example",
        "environment": "example",
        "html": "example",
        "id": "example",
        "project": "example",
        "text": "example",
        "user": {
          "email": "example",
          "name": "example",
          "profile_image_url": "example",
          "username": "example"
        }
      }
    ],
    "page": 1
  }
}

List config logs

List a config's change history, newest first: who changed which secrets and when.

Inputs

ProjectprojecttextRequired
The Doppler project.
ConfigconfigtextRequired
The config, such as dev or prd.
Pagepagenumber
Which page of logs to read, starting at 1.At least 1.
Per pageper_pagenumber
How many logs to return on a page. Doppler's default is 20.From 1 to 100.

Outputs

dataobject
The response from Doppler.
Example output
{
  "data": {
    "logs": [
      {
        "config": "example",
        "created_at": "example",
        "diff": [
          {
            "added": "example",
            "name": "example",
            "removed": "example"
          }
        ],
        "environment": "example",
        "html": "example",
        "id": "example",
        "project": "example",
        "rollback": true,
        "text": "example",
        "user": {
          "email": "example",
          "name": "example",
          "profile_image_url": "example",
          "username": "example"
        }
      }
    ],
    "page": 1
  }
}

List configs

List a project's configs, optionally in one environment.

Inputs

ProjectprojecttextRequired
The Doppler project.
Environmentenvironmenttext
The environment, such as dev.
Pagepagenumber
Which page of configs to read, starting at 1.At least 1.
Per pageper_pagenumber
How many configs to return on a page. Doppler's default is 20.From 1 to 100.

Outputs

dataobject
The response from Doppler.
Example output
{
  "data": {
    "configs": [
      {
        "created_at": "example",
        "environment": "example",
        "initial_fetch_at": "example",
        "last_fetch_at": "example",
        "locked": true,
        "name": "example",
        "project": "example",
        "root": true
      }
    ],
    "page": 1
  }
}

List environments

List a project's environments.

Inputs

ProjectprojecttextRequired
The Doppler project.

Outputs

dataobject
The response from Doppler.
Example output
{
  "data": {
    "environments": [
      {
        "created_at": "example",
        "id": "example",
        "initial_fetch_at": "example",
        "name": "example",
        "project": "example",
        "slug": "example"
      }
    ],
    "page": 1
  }
}

List projects

List the workplace's projects.

Inputs

Tagstagslist
Only projects with every one of these tag slugs, such as backend.
Pagepagenumber
Which page of projects to read, starting at 1.At least 1.
Per pageper_pagenumber
How many projects to return on a page. Doppler's default is 20.From 1 to 100.

Outputs

dataobject
The response from Doppler.
Example output
{
  "data": {
    "page": 1,
    "projects": [
      {
        "created_at": "example",
        "description": "example",
        "id": "example",
        "name": "example",
        "slug": "example"
      }
    ]
  }
}

List secrets

Get a config's secrets, each with its raw value, computed value and note, by name.

Inputs

ProjectprojecttextRequired
The Doppler project.
ConfigconfigtextRequired
The config, such as dev or prd.
Secretssecret_nameslist
Only these secrets. Leave empty for all of them.
Include Doppler's own secretsinclude_managed_secretstrue/false
Include the secrets Doppler adds itself, such as DOPPLER_PROJECT. Leave empty to include them.

Outputs

dataobject
The response from Doppler.
Example output
{
  "data": {
    "secrets": {}
  }
}

Lock config

Stop a config from being renamed or deleted.

Inputs

ProjectprojecttextRequired
The Doppler project.
ConfigconfigtextRequired
The config, such as dev or prd.

Outputs

dataobject
The response from Doppler.
Example output
{
  "data": {
    "config": {
      "created_at": "example",
      "environment": "example",
      "initial_fetch_at": "example",
      "last_fetch_at": "example",
      "locked": true,
      "name": "example",
      "project": "example",
      "root": true
    }
  }
}

Rename config

Rename a branch config.

Inputs

ProjectprojecttextRequired
The Doppler project.
ConfigconfigtextRequired
The config, such as dev or prd.
New namenametextRequired
The config's new name. It must still start with its environment, such as dev_.

Outputs

dataobject
The response from Doppler.
Example output
{
  "data": {
    "config": {
      "created_at": "example",
      "environment": "example",
      "initial_fetch_at": "example",
      "last_fetch_at": "example",
      "locked": true,
      "name": "example",
      "project": "example",
      "root": true
    }
  }
}

Roll back config change

Undo one change to a config's secrets, as recorded in its change history.

Inputs

ProjectprojecttextRequired
The Doppler project.
ConfigconfigtextRequired
The config, such as dev or prd.
ChangelogtextRequired
The change to undo.

Outputs

dataobject
The response from Doppler.
Example output
{
  "data": {
    "log": {
      "config": "example",
      "created_at": "example",
      "diff": [
        {
          "added": "example",
          "name": "example",
          "removed": "example"
        }
      ],
      "environment": "example",
      "html": "example",
      "id": "example",
      "project": "example",
      "rollback": true,
      "text": "example",
      "user": {
        "email": "example",
        "name": "example",
        "profile_image_url": "example",
        "username": "example"
      }
    }
  }
}

Set secrets

Add or change secrets in a config. Secrets not named stay as they are.

Inputs

ProjectprojecttextRequired
The Doppler project.
ConfigconfigtextRequired
The config, such as dev or prd.
Secretssecret_valuesobjectRequired
The secrets to save, as name and value pairs, such as STRIPE_KEY.

Outputs

dataobject
The response from Doppler.
Example output
{
  "data": {
    "secrets": {}
  }
}

Unlock config

Let a locked config be renamed or deleted again.

Inputs

ProjectprojecttextRequired
The Doppler project.
ConfigconfigtextRequired
The config, such as dev or prd.

Outputs

dataobject
The response from Doppler.
Example output
{
  "data": {
    "config": {
      "created_at": "example",
      "environment": "example",
      "initial_fetch_at": "example",
      "last_fetch_at": "example",
      "locked": true,
      "name": "example",
      "project": "example",
      "root": true
    }
  }
}

Update project

Rename a project or change its description.

Inputs

ProjectprojecttextRequired
The Doppler project.
NamenametextRequired
The project's name: its new one, or its current one to keep it.
Descriptiondescriptiontext
What the project is for.

Outputs

dataobject
The response from Doppler.
Example output
{
  "data": {
    "project": {
      "created_at": "example",
      "description": "example",
      "id": "example",
      "name": "example",
      "slug": "example"
    }
  }
}

On this page