Uredi

Deli z drugimi prek


DecryptFile@1 - Decrypt file (OpenSSL) v1 task

Use this task to decrypt files using OpenSSL.

A thin utility task for file decryption using OpenSSL.

Syntax

# Decrypt file (OpenSSL) v1
# Decrypt a file using OpenSSL.
- task: DecryptFile@1
  inputs:
    cipher: 'des3' # string. Required. Cypher. Default: des3.
    inFile: # string. Required. Encrypted file. 
    passphrase: # string. Required. Passphrase. 
    #outFile: # string. Decrypted file path. 
  # Advanced
    #workingDirectory: # string. Alias: cwd. Working directory.
# Decrypt File (OpenSSL) v1
# A thin utility task for file decryption using OpenSSL.
- task: DecryptFile@1
  inputs:
    cipher: 'des3' # string. Required. Cypher. Default: des3.
    inFile: # string. Required. Encrypted file. 
    passphrase: # string. Required. Passphrase. 
    #outFile: # string. Decrypted file path. 
  # Advanced
    #workingDirectory: # string. Alias: cwd. Working directory.

Inputs

cipher - Cypher
string. Required. Default value: des3.

The encryption cypher to use. See cypher suite names for a complete list of possible values.


inFile - Encrypted file
string. Required.

The relative path of the file to decrypt.


passphrase - Passphrase
string. Required.

The passphrase to use for decryption. Use a variable to encrypt the passphrase.


outFile - Decrypted file path
string.

The optional filename for the decrypted file. Defaults to the encrypted file with an .out extension.


workingDirectory - Working directory
Input alias: cwd. string.

The optional working directory for decryption. Defaults to the root of the repository.


Task control options

All tasks have control options in addition to their task inputs. For more information, see Control options and common task properties.

Output variables

None.

Remarks

Use this task to decrypt files using OpenSSL.

Requirements

Requirement Description
Pipeline types YAML, Classic build, Classic release
Runs on Agent, DeploymentGroup
Demands None
Capabilities This task does not satisfy any demands for subsequent tasks in the job.
Command restrictions This task runs using the following command restrictions: restricted
Settable variables This task has permission to set the following variables: Setting variables is disabled
Agent version 2.182.1 or greater
Task category Utility
Requirement Description
Pipeline types YAML, Classic build, Classic release
Runs on Agent, DeploymentGroup
Demands None
Capabilities This task does not satisfy any demands for subsequent tasks in the job.
Command restrictions Any
Settable variables Any
Agent version All supported agent versions.
Task category Utility