Editing a Session in Bastion

Describes how to edit the details of a bastion session.

You can update only the display name of a session.

    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 that hosts the session you want to update.
    4. Click Sessions.
    5. Click the Actions menu to the right side of the session that you want to update, click Edit session name.
    6. Change the name of the session.

      Avoid entering any confidential information in this field.

    7. Click Update.
  • Use the oci bastion session update command and required parameters to edit the details of a bastion session:

    oci bastion session update --session-id <bastion_session_ocid> --display-name <new_session_display_name> [OPTIONS]

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

  • Run the UpdateSession operation to edit the details of a bastion session.