Getting a Session's Details
Describes how to get details about a bastion session.
- Open the navigation menu and click Identity & Security. Click Bastion.
- Under List scope, select the compartment where the bastion was created.
- Click the name of the bastion that hosts the session that you want to view.
- Click Sessions.
- From the table, find the name of the session to view its details.
Use the oci bastion session get command and required parameters to get the details of a bastion session:
oci bastion session get --session-id <bastion_session_ocid> [OPTIONS]
For a complete list of flags and variable options for CLI commands, see the Command Line Reference.
Run the GetSession operation to get the details about a bastion session.