Skip to content

Latest commit

 

History

History
39 lines (28 loc) · 1002 Bytes

File metadata and controls

39 lines (28 loc) · 1002 Bytes

Action Handler: Encrypt file

Encrypt single file with aes-256-cbc algorythm and password converted with pbkdf2 algorithm into sha512 hash.

ID: com.fireblink.fbl.plugin.crypto.encrypt

Aliases:

  • fbl.plugin.crypto.encrypt
  • plugin.crypto.encrypt
  • crypto.encrypt
  • encrypt

Example 1: Override file

encrypt:
  # [required] password used to encrypt files
  # Warning: don't reference it directly, better place in "secrets", as in report it will be masked.    
  password: <%- secrets.password %>

  # [required] File to encrypt
  file: /tmp/decrypted

Example 2: Store encrypted file in different location

encrypt:
  # [required] password used to encrypt files
  # Warning: don't reference it directly, better place in "secrets", as in report it will be masked.    
  password: <%- secrets.password %>

  # [required] File to encrypt
  file: /tmp/decrypted

  # [optional] Alternative location to store encrypted file
  destination: /tmp/encrypted