anjuna-nitro-cli console

anjuna-nitro-cli console --enclave-name <enclave-name> [OPTIONS...]

Connect to the console of an enclave if it was started in debug mode.

anjuna-nitro-cli console displays the read-only console for the enclave that is running. The console contains the enclave startup messages and the application logs. You can use this command only if the enclave was launched with the --debug-mode command-line option (anjuna-nitro-cli run-enclave --enclave-name <enclave-name> --debug-mode).

Specifying the --enclave-name option is recommended in order to identify AWS Nitro Enclaves and related services, such as enclave networking, especially when multiple simultaneous enclaves run on the same host. Not specifying --enclave-name is only supported when running a single enclave per host.

Options

Usage

anjuna-nitro-cli console --enclave-name <enclave-name>  [OPTIONS...]

--enclave-name

(Recommended) Custom name assigned to the enclave by the user, used to uniquely identify an enclave

--disconnect-timeout

The time in seconds after the console disconnects from the enclave

Global options

The following options are available for all commands.

Global options

-h, --help

Prints the help information for the command

-v, --version

Prints version information

Exit status

  • 0 on success

  • > 0 on error

Example

$ anjuna-nitro-cli console --enclave-name hello-world