anjuna-nitro-cli console

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

SYNOPSIS

anjuna-nitro-cli console --enclave-id <enclave-id>

DESCRIPTION

Displays the read-only console for the specified enclave, which 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).

OPTIONS

USAGE:
    anjuna-nitro-cli console --enclave-id <enclave-id>

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

EXIT STATUS

  • 0 on success

  • > 0 on error

EXAMPLE

nitro-cli console --enclave-id i-0f2c4b721470e92c4-enc1776bc0278e90b9

To retrieve the enclave-id of the currently running enclave, you can use the following command (assuming you have jq installed):

anjuna-nitro-cli describe-enclaves | jq -r .[0].EnclaveID

Using this command, you can view the console output of the currently running enclave with the following command:

nitro-cli console --enclave-id $(anjuna-nitro-cli describe-enclaves | jq -r .[0].EnclaveID)