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. On the Bastions list page, select the bastion that hosts the session that you want to work with. If you need help finding the list page or the bastion, see Listing Bastions.
    2. On the details page, select Sessions.
    3. Select the Actions menu (Actions Menu) for the session that you want to update, and select Edit session name.
    4. Change the name of the session.

      Avoid entering any confidential information in this field.

    5. Select 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.