Skip to content

Commit

Permalink
Adjust doppler documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
mrbongiolo committed Nov 22, 2024
1 parent 68fc95b commit 535ae45
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions docs/commands/secrets.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,13 +99,16 @@ Use the adapter `doppler`:

```bash
# Fetch passwords
kamal secrets fetch --adapter doppler --account my-project/prd REGISTRY_PASSWORD DB_PASSWORD
kamal secrets fetch --adapter doppler --from my-project/prd REGISTRY_PASSWORD DB_PASSWORD

# The project/config pattern is also supported in this way
kamal secrets fetch --adapter doppler my-project/prd/REGISTRY_PASSWORD my-project/prd/DB_PASSWORD

# Extract the secret
kamal secrets extract REGISTRY_PASSWORD <SECRETS-FETCH-OUTPUT>
kamal secrets extract DB_PASSWORD <SECRETS-FETCH-OUTPUT>
```

Doppler organizes secrets in "projects" (like `my-awesome-project`) and "configs" (like `prod`, `stg`, etc), use the pattern `project/config` when defining the `--account` option.
Doppler organizes secrets in "projects" (like `my-awesome-project`) and "configs" (like `prod`, `stg`, etc), use the pattern `project/config` when defining the `--from` option.

Doppler does not have a concept of folders, so using `--from` option or `FOLDER/SECRET` pattern is not supported and will raise an error.
The doppler adapter does not use the `--account` option, if given it will be ignored.

0 comments on commit 535ae45

Please sign in to comment.