decrypt_string

JFrog Pipelines Documentation

Products
JFrog Pipelines
Content Type
User Guide

Description

Uses the provided private key to decrypt the specified string.

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

Usage

Shell

Function

Bash

decrypt_string --key <path> <encrypted string>

PowerShell

decrypt_string -key <path> <encrypted string>

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

  • encrypted string is the string to be decrypted