Skip to main content

quill decrypt-pem

Reference

Decrypts an encrypted PEM file for use with other tools.

Basic usage

The basic syntax for running quill decrypt-pem commands is:

quill decrypt-pem <OUTPUT_PATH> [option]

Arguments

ArgumentDescription
<OUTPUT_PATH>The path to write the decrypted PEM to, or "-" for STDOUT

Flags

FlagDescription
-h, --helpDisplays usage information.

Options

OptionDescription
--pem-file <PEM_FILE>Path to your PEM file (use "-" for STDIN)
--password-file <PASSWORD_FILE>Read the password from this file (use "-" for STDIN)

Examples

The quill decrypt-pem command is used to convert a password-protected PEM file into a plaintext one.

quill decrypt-pem --pem-file identity.pem decrypted.pem

This will interactively prompt for the password. To use it in a script, pass a password file:

quill decrypt-pem --pem-file identity.pem --password-file password.txt decrypted.pem