diff --git a/docs/commands/secrets.md b/docs/commands/secrets.md index 188d03d..17bba2f 100644 --- a/docs/commands/secrets.md +++ b/docs/commands/secrets.md @@ -90,3 +90,22 @@ kamal secrets fetch --adapter bitwarden --account email@example.com MyItem/REGIS kamal secrets extract REGISTRY_PASSWORD kamal secrets extract MyItem/REGISTRY_PASSWORD ``` + +## Doppler + +First, install and configure [the Doppler CLI](https://docs.doppler.com/docs/install-cli). + +Use the adapter `doppler`: + +```bash +# Fetch passwords +kamal secrets fetch --adapter doppler --account my-project/prd REGISTRY_PASSWORD DB_PASSWORD + +# Extract the secret +kamal secrets extract REGISTRY_PASSWORD +kamal secrets extract DB_PASSWORD +``` + +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 does not have a concept of folders, so using `--from` option or `FOLDER/SECRET` pattern is not supported and will raise an error.