Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 23 additions & 1 deletion docs/commands/secrets.md
Original file line number Diff line number Diff line change
Expand Up @@ -246,4 +246,26 @@ kamal secrets extract REGISTRY_PASSWORD <SECRETS-FETCH-OUTPUT>
kamal secrets extract DB_PASSWORD <SECRETS-FETCH-OUTPUT>
```

The passbolt adapter does not use the `--account` option, if given it will be ignored.
The passbolt adapter does not use the `--account` option, if given it will be ignored.

## Proton Pass

First, install and configure [the Proton Pass CLI](https://protonpass.github.io/pass-cli/).

Use the adapter `proton-pass`:

```bash
# Fetch passwords from an item in a vault
kamal secrets fetch --adapter proton-pass --from MyVault REGISTRY_PASSWORD

# Fetch specific fields from an item in a vault
kamal secrets fetch --adapter proton-pass --from MyVault MyItem/REGISTRY_PASSWORD MyItem/DB_PASSWORD

# Fetch from multiple vaults
kamal secrets fetch --adapter proton-pass MyVault/MyItem/REGISTRY_PASSWORD MyVaul2/DB_PASSWORD

# Extract the secret
kamal secrets extract REGISTRY_PASSWORD <SECRETS-FETCH-OUTPUT>
kamal secrets extract MyItem/REGISTRY_PASSWORD <SECRETS-FETCH-OUTPUT>
kamal secrets extract MyVault/MyItem/REGISTRY_PASSWORD <SECRETS-FETCH-OUTPUT>
```