Identity Broker Documentation Index
Command-Line Tool Reference Home

decrypt-file

Description
Examples
Arguments

Description

Decrypt the contents of a file (or data read from standard input) that was encrypted with the encrypt-file or collect-support-data tools.

Examples

Decrypt the data contained in 'sensitive-info.encrypted' and write the result to file 'sensitive-info.txt'. The tool will interactively prompt the user for the passphrase used when encrypting the data:
decrypt-file --fileToDecrypt sensitive-info.encrypted \
     --outputFile sensitive-info.txt


Decrypt data read from standard input and write the result to standard output. The encryption passphrase will be read from the file 'passphrase.txt':
decrypt-file --passphraseFile passphrase.txt

Arguments

-V
--version

Description Display Identity Broker version information

-H
--help

Description Display general usage information

--help-debug

Description Display help for using debug options
Advanced Yes

-i {path}
--fileToDecrypt {path}

Description The path to the file to be decrypted. If this is not provided, then the data to be decrypted will be read from standard input, and a passphrase file must have been specified
Required No
Multi-Valued No

-o {path}
--outputFile {path}

Description The path to the file to which the decrypted data should be written. If this is not provided, then the decrypted data will be written to standard output
Required No
Multi-Valued No

-p {path}
--passphraseFile {path}

Description The path to a file containing the passphrase that was used to encrypt the data. If this is not provided, then the user will be interactively prompted for the passphrase to use. If the --fileToDecrypt argument is not provided, then this argument must be used to specify the passphrase file
Required No
Multi-Valued No