API Reference

lean encrypt

Introduction

Encrypt your local project using the specified encryption key.

$ lean encrypt [OPTIONS] PROJECT

To use the CLI, you must be a member in an organization on a paid tier.

Description

Encrypts the files of the given local project using the specified encryption key. Use the --key option to provide the path to the key file. If you don't provide a key, the CLI uses the key stored in the project's Lean configuration file.

To decrypt a project, use lean decrypt.

Options

The lean encrypt command supports the following options:

OptionDescription
--key <file>Path to the encryption key to use
--verboseEnable debug logging
--helpDisplay the help text of the lean encrypt command and exit

You can also see our Videos. You can also get in touch with us via Discord.

Did you find this page helpful?

Contribute to the documentation: