Encrypt
yaml
type: "io.kestra.plugin.crypto.openpgp.encrypt"
Examples
yaml
id: crypto_encrypt
namespace: company.team
inputs:
- id: file
type: FILE
tasks:
- id: encrypt
type: io.kestra.plugin.crypto.openpgp.Encrypt
from: "{{ inputs.file }}"
key: |
-----BEGIN PGP PUBLIC KEY BLOCK----- ...
recipients:
- hello@kestra.io
yaml
id: crypto_encrypt
namespace: company.team
inputs:
- id: file
type: FILE
tasks:
- id: encrypt
type: io.kestra.plugin.crypto.openpgp.Encrypt
from: "{{ inputs.file }}"
key: |
-----BEGIN PGP PUBLIC KEY BLOCK----- ...
recipients:
- hello@kestra.io
signPublicKey: |
-----BEGIN PGP PUBLIC KEY BLOCK----- ...
signPrivateKey: |
-----BEGIN PGP PRIVATE KEY BLOCK-----
signPassphrase: my-passphrase
signUser: signer@kestra.io
Properties
recipients *Requiredarray
SubType string
from string
key string
signPassphrase string
signPrivateKey string
signPublicKey string
signUser string
Outputs
uri string
Format
uri