encrypt_file

JFrog Pipelines Documentation

Products
JFrog Pipelines
Content Type
User Guide
ft:sourceType
Paligo

Description

Uses the provided public key to encrypt the specified file to a new file.

Usage

Shell

Function

Bash

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

PowerShell

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

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

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

  • source filename is the file to be decrypted