
Decrypt
Decrypt a file encrypted with PGP.
Decrypt a file encrypted with PGP.
Decrypt a file encrypted with PGP.
type: "io.kestra.plugin.crypto.openpgp.Decrypt"Examples
Decrypt a file
id: crypto_decrypt
namespace: company.team
inputs:
- id: file
type: FILE
tasks:
- id: decrypt
type: io.kestra.plugin.crypto.openpgp.Decrypt
from: "{{ inputs.file }}"
privateKey: |
-----BEGIN PGP PRIVATE KEY BLOCK-----
privateKeyPassphrase: my-passphrase
Decrypt a file and verify signature
id: crypto_decrypt
namespace: company.team
inputs:
- id: file
type: FILE
tasks:
- id: decrypt
type: io.kestra.plugin.crypto.openpgp.Decrypt
from: "{{ inputs.file }}"
privateKey: |
-----BEGIN PGP PRIVATE KEY BLOCK-----
privateKeyPassphrase: my-passphrase
signUsersKey:
- |
-----BEGIN PGP PRIVATE KEY BLOCK-----
requiredSignerUsers:
- [email protected]
Properties
fromstring
The file to crypt
Pebble expression referencing an Internal Storage URI e.g. {{ outputs.mytask.uri }}.
privateKeystring
The private key to decrypt
Must be an ascii key export with gpg --export-secret-key -a
privateKeyPassphrasestring
The passphrase use to unlock the secret ring
requiredSignerUsersarray
The list of recipients the file will be generated.
signUsersKeyarray
The public key use to sign the files
Must be an ascii key export with gpg --export -a
Outputs
uristring
uriThe decrypted files uri