decrypt_file

JFrog Pipelines Documentation

Products
JFrog Pipelines
Content Type
User Guide
ft:sourceType
Paligo

Description

Uses the provided private key to decrypt the specified file to a new file.

This is typically used to decrypt information that was encrypted using encrypt_file with the corresponding public key. It helps you avoid building your own encrypt-decrypt system.

Usage

Shell

Function

Bash

decrypt_file --key <path> [--output <filename>] <source filename>

PowerShell

decrypt_file -key <path> [-output <filename>] <source filename>

  • key is the fully qualified path of the private key file

  • output is the name of the resulting decrypted file. Defaults to “decrypted”

  • source filename is the file to be decrypted