This article is about Codeship Pro.

jet decrypt

You'll need about one minute to read this article.

Description

Decrypt a file using an AES key

Usage

jet decrypt /path/to/input_encrypted_file /path/to/output_file [flags]

Flags

Name, shorthand Default Description
--key-path codeship.aes The key path for encrypting secure environment variables.

Extended description

The jet decrypt function will take any encrypted file as input, and output a decrypted file using the key found in your Project Settings.

If you encounter the error No AES key provided, and you have already downloaded the key, verify that the file is named codeship.aes and in the same directory where you are executing jet decrypt, or you are passing in the correct key-path value.

Examples

Default Usage

$ jet decrypt env.encrypted env

This will create env from the env.encrypted file using the key in the codeship.aes file.

decrypt with key-path

$ jet decrypt env.encrypted env --key-path PATH_TO_AES_KEY

This will create env from the env.encrypted file using the key located at PATH_TO_AES_KEY.