diff --git a/docs/commands/secrets.md b/docs/commands/secrets.md index d5d50c3..b746956 100644 --- a/docs/commands/secrets.md +++ b/docs/commands/secrets.md @@ -117,3 +117,25 @@ kamal secrets extract MyItem/REGISTRY_PASSWORD ``` **Note:** The `--account` option should be set to your AWS CLI profile name, which is typically `default`. Ensure that your AWS CLI is configured with the necessary permissions to access AWS Secrets Manager. + +## 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 --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 +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 `--from` option. + +The doppler adapter does not use the `--account` option, if given it will be ignored. \ No newline at end of file