Decrypt File (OpenSSL) task

Azure Pipelines

Use this task in a build or release pipeline to decrypt files using OpenSSL.

YAML snippet

# Decrypt file (OpenSSL)
# Decrypt a file using OpenSSL
- task: DecryptFile@1
  inputs:
    #cipher: 'des3' 
    inFile: 
    passphrase: 
    #outFile: # Optional
    #workingDirectory: # Optional

Arguments

ArgumentDescription
Cypher(Required) Encryption cypher to use. See cypher suite names for a complete list of possible values.
Encrypted file(Required) Relative path of file to decrypt.
Passphrase(Required) Passphrase to use for decryption. Use a Variable to encrypt the passphrase.
Decrypted file path(Optional) Optional filename for decrypted file. Defaults to the Encrypted File with a ".out" extension
Working directory(Optional) Working directory for decryption. Defaults to the root of the repository.
Control options

Open source

This task is open source on GitHub. Feedback and contributions are welcome.