-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(secrets): document Doppler adapter usage
- Loading branch information
1 parent
b3ddc38
commit 68fc95b
Showing
1 changed file
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -90,3 +90,22 @@ kamal secrets fetch --adapter bitwarden --account [email protected] MyItem/REGIS | |
kamal secrets extract REGISTRY_PASSWORD <SECRETS-FETCH-OUTPUT> | ||
kamal secrets extract MyItem/REGISTRY_PASSWORD <SECRETS-FETCH-OUTPUT> | ||
``` | ||
|
||
## 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 <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 does not have a concept of folders, so using `--from` option or `FOLDER/SECRET` pattern is not supported and will raise an error. |