Authenticate to a ServiceNow instance using basic authentication with the ServiceNow SDK
Use basic authentication to connect to a ServiceNow instance with the ServiceNow SDK.
Before you begin
Role required: admin
About this task
This procedure uses the ServiceNow SDK command-line interface (CLI). From a command-line tool, enter now-sdk --help to get information about the available commands and global options. To get additional information about a
command and its parameters, enter the command and --help or -h. For example, now-sdk auth --help. For more information about the CLI, see ServiceNow SDK CLI.
Procedure
Result
The alias and credentials are stored in the device keychain or credential manager on your system and are set as the default credentials.
What to do next
Add an application to your local system with the ServiceNow SDK. For more information, see Adding applications with the ServiceNow SDK.