From 535ae4580bea666f410ffa706ef03d512802ea20 Mon Sep 17 00:00:00 2001 From: Ralf Schmitz Bongiolo Date: Thu, 21 Nov 2024 20:06:37 -0400 Subject: [PATCH] Adjust doppler documentation --- docs/commands/secrets.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/docs/commands/secrets.md b/docs/commands/secrets.md index 17bba2f..0bbade2 100644 --- a/docs/commands/secrets.md +++ b/docs/commands/secrets.md @@ -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 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 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.