Configure the Basic authentication method
On this page
Configure the Basic authentication method
Confirm an integration user, create a Basic authentication record, then connect your instances using basic authentication. Basic authentication is supported but OAuth is recommended for production environments.
About this task
Important:
Authentication record passwords use Key Management Framework (KMF) encryption, which is instance-specific. Any authentication record imported from another instance must have its password manually re-entered on the target instance. Neither sn_se.scan_engine_admin nor sn_se.internal_rest_integration is inherited by the platform admin role and both must be explicitly assigned on every instance.
Before you begin
Role required: Scan Engine Admin (sn_se.scan_engine_admin).
Procedure
-
Confirm the integration user account
-
Confirm that the integration user account exists on all participating instances, has the
sn_se.internal_rest_integrationandsn_se.scan_engine_adminroles assigned, and that the account password is recorded in a secure location.If the account has not been created yet, complete Create an integration user account before continuing.
-
Set the password using
setDisplayValue()in a background script.Note: The Set Password UI modal does not support typing or pasting. Use the following script in ALL > System Definition > Scripts - Background:
var gr = new GlideRecord('sys_user'); gr.get('user_name', 'scan_engine_integration'); gr.user_password.setDisplayValue('YourPassword'); gr.update(); -
Create a Basic authentication record
-
Navigate to
sys_auth_profile_basic.listand select New. -
Enter the same username and password as the integration user.
-
Set Application to
Scan Engineand save. -
Connect your instances
-
Export the integration user record and basic auth record from the source instance, then import both into every target instance.
-
On each target instance, assign role
sn_se.internal_rest_integrationto the imported user.Role assignments are not included in record exports and must be added manually.
-
On each target instance, reset the integration user password using
setDisplayValue()(see script above). -
On each target instance, open the imported basic auth record and manually re-enter the password in the UI.
-
Create or import My SN Instances records and validate connections.
Parent Topic:Register your instance
Keep exploring.
Find another answer, or bring this documentation into your own tools.