nitro-cli console
Enters a read-only console for the specified enclave. This enables you to view the
enclave's console output to assist with troubleshooting. You can use this
command only on an enclave that was launched with the --debug-mode
flag.
Syntax
nitro-cli console [--enclave-name
enclave_name
| --enclave-idenclave_id
] [--disconnect-timeoutnumber_of_seconds
]
Options
--enclave-name
-
The unique name of the enclave. You must specify either
--enclave-name
or--enclave-id
.Type: String
Required: Yes, if
--enclave-id
is not specified
--enclave-id
-
The unique ID of the enclave. You must specify either
--enclave-id
or--enclave-name
.Type: String
Required: Yes, if
--enclave-name
is not specified
--disconnect-timeout
-
The number of seconds after which to automatically disconnect idle console sessions.
Type: Integer
Required: No
Example
The following command enters a read-only console for an enclave with an ID of
i-05f6ed443ae428c95-enc173dfe3e2b1c87b
. The session automatically disconnects if the
connection is idle for 60
seconds.
Command
nitro-cli console --enclave-id i-05f6ed443ae428c95-enc173dfe3e2b1c87b --disconnect-timeout 60