After you add a third-party asset source to Bastionhost, Bastionhost can call the operation that is provided by the third-party asset source to obtain the hosts that belong to the third-party asset source. You can import the hosts from the third-party asset source to Bastionhost and perform O&M operations on the hosts. This topic describes how to manage third-party asset sources.

Prerequisites

  • An asset source that is created by a third-party service provider is used, and hosts are added to the asset source.
  • The access credentials (Access Key ID and Secret Access Key) of the third-party asset source are obtained, and the access credentials have the read permissions on host information. For more information, see the official documentation of the third-party service provider.
Note Only specific third-party asset sources are supported. You can submit a ticket to inquire about the supported third-party asset sources.

Import a third-party asset source

  1. Log on to your bastion host. For more information, see Log on to a bastion host.
  2. In the left-side navigation pane, click System Settings.
  3. On the System Settings page, click the Third-party Hosts tab.
  4. On the Third-party Hosts tab, click Import Third-party Host.
  5. In the Import Third-party Host panel, configure the parameters and click Create.
    Parameter Description
    Host Name Specify a name for the asset source.

    The name must be 1 to 128 characters in length and can contain letters, digits, periods (.), underscores (_), hyphens (-), backslashes (\), and spaces. The name cannot start with a special character.

    Third-party Provider Select the third-party service provider to which the asset source belongs.
    Access Key ID Enter the Access Key ID of the third-party asset source.
    Secret Access Key Enter the Secret Access Key of the third-party asset source.

What to do next

After you import a third-party asset source, you can import the hosts from the third-party asset source. For more information, see Import a host from a third-party asset source.

Related operations

  • Update the information about a third-party asset source. If the information about a third-party asset source is changed, you can update the information to obtain the most recent host information.

    On the Third-party Hosts tab, find the required third-party asset source and click Synchronize in the Actions column.

  • Modify the information about a third-party asset source. You can modify the name, service provider, Access Key ID, and Secret Access Key of a third-party asset source.

    On the Third-party Hosts tab, find the required third-party asset source and click its name. In the Modify Information About Third-party Host panel, modify the information and click Edit.

  • Delete a third-party asset source. You can delete the third-party asset source that you no longer use.

    On the Third-party Hosts tab, find the required third-party asset source and click Delete in the Actions column. In the message that appears, click Delete.

    Notice Before you delete a third-party asset source, make sure that all hosts that belong to the asset source are deleted. If a host exists in the third-party asset source, you cannot delete the third-party asset source. For more information, see Delete a host.