Add a password to a PDF document

Use this action to encrypt and protect a PDF document with a password to prevent unauthorized access.

Add Password to PDF Documents

Parameters

PDF Document

The content of the input PDF document.

  • This field is Required
  • The type is File

Password

The password required to open the file.

  • This field is Required
  • The type is String
  • The length is between 4 and 32 characters.

The characters in the password must be in the ASCII printable range (between positions 32 and 126). This range includes lowercase and uppercase letters, numbers, space, and some commonly used symbols like . , : ; # $ % & ( ) * + = ? !

Encryption Algorithm

The password required to open the file.

  • This field is Required
  • The type is String
  • Valid values are: AES-128 and AES-256.
  • We recommend using AES-128 as it strikes a balance between security and compatibility.

Output

File

The content of the password protected PDF document.

  • The type is File
  • You can use it as an input to other steps in your zap.