Getting a Bastion's Details

Get the details of a bastion in a compartment.

    1. Open the navigation menu and click Identity & Security. Click Bastion.
    2. Under List scope, select the compartment where the bastion was created.
    3. Click the name of the bastion.
  • Use the oci bastion bastion get command and required parameters to get details about a bastion:

    oci bastion bastion get --bastion-id <bastion_ocid> [OPTIONS]

    For a complete list of flags and variable options for CLI commands, see the Command Line Reference.

  • Run the GetBastion operation to get the details about a bastion.