Back to Chezmoi

`protonPassAttachment` *share-id* *item-id* *attachment-id*

assets/chezmoi.io/docs/reference/templates/protonpass-functions/protonPassAttachment.md

2.72.1576 B
Original Source

protonPassAttachment share-id item-id attachment-id

protonPassAttachment returns the content of the given attachment from Proton Pass using the Proton Pass CLI. The output of pass-cli is cached so calling protonPassAttachment multiple times with the same share-id, item-id, and attachment-id will only invoke pass-cli once.

!!! example

```
{{ protonPassAttachment "$SHARE_ID" "$ITEM_ID" "$ATTACHMENT_ID" }}
```