
Compression
CertifiedTasks that compress and decompress files and archives for Kestra flows.
Use ArchiveCompress, ArchiveDecompress, FileCompress, and FileDecompress to package or extract files stored in Kestra, providing the from internal storage URI plus an algorithm for archives and a compression format for both archive and single-file operations. Use FileEncrypt and FileDecrypt to encrypt and decrypt files: the default mode (PBKDF2_SHA256) uses AES-256-CBC and is compatible with openssl enc -aes-256-cbc -pbkdf2; the PBKDF2_SHA512, ARGON2ID, and SCRYPT modes use AES-256-GCM with a self-describing KESTRAENC file format that embeds all derivation parameters so FileDecrypt needs only the password. Outputs return new storage URIs (archives also expose an entry map and size/count metrics), making it easy to pass compressed or encrypted artifacts to uploads or downstream tasks.
Compression
Tasks that compress and decompress files and archives for Kestra flows.
Use ArchiveCompress, ArchiveDecompress, FileCompress, and FileDecompress to package or extract files stored in Kestra, providing the from internal storage URI plus an algorithm for archives and a compression format for both archive and single-file operations. Use FileEncrypt and FileDecrypt to encrypt and decrypt files: the default mode (PBKDF2_SHA256) uses AES-256-CBC and is compatible with openssl enc -aes-256-cbc -pbkdf2; the PBKDF2_SHA512, ARGON2ID, and SCRYPT modes use AES-256-GCM with a self-describing KESTRAENC file format that embeds all derivation parameters so FileDecrypt needs only the password. Outputs return new storage URIs (archives also expose an entry map and size/count metrics), making it easy to pass compressed or encrypted artifacts to uploads or downstream tasks.
tasks
How to use the Compress plugin
Compress, decompress, archive, and extract files from Kestra flows.
Tasks
ArchiveCompress creates an archive from a from source — set algorithm to the archive format (TAR, ZIP, JAR, AR, or CPIO). Optionally set compression to also compress the archive (e.g. GZIP for .tar.gz). Note: ARJ and DUMP are supported for extraction only.
ArchiveDecompress extracts an archive — set from (a kestra:// URI) and algorithm. Optionally set compression if the archive is also compressed. ARJ and DUMP are supported here but not for compression.
FileCompress compresses a single file — set from (a kestra:// URI) and compression (required). Supported algorithms: GZIP, BZIP2, XZ, ZSTD, LZMA, DEFLATE, LZ4FRAME, LZ4BLOCK, SNAPPYFRAME, Z, and others. Note: BROTLI, DEFLATE64, and SNAPPY variants are decode-only.
FileDecompress decompresses a single file — set from and compression. Supports all algorithms including the decode-only ones.