Manage IDaaS authentication
Bastionhost integrates with IDaaS authentication to synchronize users from an IDaaS EIAM instance to Bastionhost as Bastionhost users. This topic describes how to configure IDaaS authentication, clear the IDaaS configuration, and change the associated IDaaS instance.
Background information
Identity as a Service (IDaaS) is the identity and permission management system that Alibaba Cloud provides for enterprise users. For more information, see What is IDaaS EIAM?.
Prerequisites
An IDaaS EIAM instance is created. For instructions, see Create an EIAM instance.
Limits
-
Only Bastionhost Enterprise Edition instances support IDaaS authentication. To purchase or upgrade an instance, see Purchase an instance and Upgrade instance specifications.
-
IDaaS users cannot use password-based authentication to log on to Bastionhost from a client for asset O&M. To perform O&M, use O&M token-based authentication from a client or use the O&M portal. For instructions, see O&M manual.
Configure IDaaS authentication
Log on to the Bastionhost console. In the top navigation bar, select the region where your Bastionhost instance is located.
In the list of Bastionhost instances, find the target instance and click Manage.
-
In the left-side navigation pane, choose System Settings > Authentication Settings.
-
On the IDaaS Authentication tab, click Associate IDaaS Instance.
-
In the Associate IDaaS Instance dialog box, select the Alibaba Cloud IDaaS instance and click Next. In the message that appears, click OK.
Application Name cannot be changed after it is set. If you leave this parameter blank, the Bastionhost instance ID is used as the IDaaS application name by default.
To create an IDaaS instance, log on to the Alibaba Cloud IDaaS console. For instructions, see Create an IDaaS instance.
-
On the Completed page, review the information and click OK.
To import IDaaS accounts for the first time, use one of the following methods. Accounts that you later create in the IDaaS console are automatically synchronized to Bastionhost (on the page).
-
Method 1: Log on to the Alibaba Cloud IDaaS console and push IDaaS accounts to Bastionhost in one click. For more information, see Account synchronization: Event callback.
-
Method 2: On the page of the Bastionhost console, manually import IDaaS users. For more information about how to manually import IDaaS users, see Manage users.
Parameter
Description
Egress IP Address
If your Bastionhost instance restricts request IP addresses, add the egress IP addresses of IDaaS to the Bastionhost allowlist.
User Sync Scope
After you specify an IDaaS organization, only the account changes within that organization are synchronized when Bastionhost synchronizes users.
User Group Sync Scope
After you specify IDaaS groups and select the option to synchronize IDaaS groups as Bastionhost user groups, IDaaS group changes within the synchronization scope are automatically synchronized to Bastionhost.
Sync Settings
The following options are supported. You can select multiple options:
-
Sync IDaaS Group as Bastionhost User Group
-
When a user is deleted from an IDaaS instance, the corresponding Bastionhost user is also deleted.
SSO Implemented By
IDaaS-initiated means that users log on through the IDaaS portal address in the IDaaS console. Bastionhost-initiated means that users log on with IDaaS accounts through the Bastionhost O&M portal. Valid values:
-
IDaaS and Bastionhost
-
Only Bastionhost
IDaaS Sign-in URL
This parameter is required when the single sign-on (SSO) initiator is IDaaS. It specifies the Bastionhost O&M portal address that IDaaS accesses when it initiates an SSO request. Valid values:
-
Public Web Portal Address
-
Private O&M Portal
Logon Settings
You can configure the O&M portal logon method as "Enable IDaaS-only logon for O&M portal". After you select this option, users are redirected to the IDaaS logon page by default when they access the O&M portal address.
ImportantIf you select this option, local users and AD/LDAP users cannot log on to the O&M portal.
Manual Import Interval of Synchronized User Snapshots
After you set the snapshot interval, the user list on the IDaaS authentication server is automatically synchronized to the local snapshot at the specified interval when you manually import IDaaS users to Bastionhost. Valid values: 0 and 4 to 168. Unit: hours. Default value: 0, which indicates that user snapshots are not automatically synchronized. For more information about how to manually import IDaaS users, see Manage users.
-
Change the associated IDaaS instance
After the IDaaS users are cleared, they cannot log on to Bastionhost and the data cannot be recovered. Proceed with caution.
Log on to the Bastionhost console. In the top navigation bar, select the region where your Bastionhost instance is located.
In the list of Bastionhost instances, find the target instance and click Manage.
-
In the left-side navigation pane, choose System Settings > Authentication Settings.
-
On the IDaaS Authentication tab, click Change IDaaS Instance.
-
In the Change IDaaS Instance dialog box, click Clear IDaaS Users and Go to Next Step. In the message that appears, click Clear IDaaS Users.
-
On the Associate Instance tab, select the IDaaS instance that you want to associate and click Next. In the message that appears, click OK.
Clear the IDaaS authentication configuration
After you clear the configuration, IDaaS authentication is no longer available. Proceed with caution.
Log on to the Bastionhost console. In the top navigation bar, select the region where your Bastionhost instance is located.
In the list of Bastionhost instances, find the target instance and click Manage.
-
In the left-side navigation pane, choose System Settings > Authentication Settings.
-
On the IDaaS Authentication tab, click Clear Settings.
-
In the dialog box that appears, click Clear IDaaS Users first, and then click Clear.
If you click Clear IDaaS Users, all IDaaS users imported to Bastionhost are removed, but the IDaaS instance remains associated. If you click Clear, the associated IDaaS instance is disassociated.