Authentication

Sentinel EMS REST API uses the HTTP Basic Authentication standard, which helps to avoid session maintenance. You must specify the user name and password in each API call. This is done by using the Authorization header of the request, in the following manner:

1.The user name and password are combined into a string called username:password. User names and passwords that contain a colon character (:) are not supported.

2.The resulting string literal is encoded using Base64.

3.The authentication method Basic, along with a space, is put before the encoded string.

For example, if the user agent uses admin as the user name and admin123 as the password, the Authorization header is formed, as follows:

Authorization: Basic YWRtaW46YWRtaW4xMjM=

Sentinel EMS supports Basic Authentication for all login types, in the following format:

Login Type

Login Credentials

(username:password)

Example

Vendor Login

Use the user ID and its respective password.

Format:

[vendor_user_Id]:[vendor_password]

admin:admin123

Partner Login

Use the actual partner user ID with the prefix - "partner-" as the user name.

Format:

partner-[partner_user_Id]:[partner_password]

partner-partneruser:test123

Customer Login

Contact Login

Use the contact's e-mail address with the prefix - "endUser-" as the user name.

NOTE   The prefix - "endUser-" is case-sensitive.

Format:

endUser-[contact_email_address]:[contact_password]

endUser-abc@xyz.com:abc123

PKID Login

Use "pkId" as the username, and the actual Product Key as the password.

NOTE   The username "pkId" is case-sensitive.

Format:

pkId:[product_key]

pkId:12AJD-6ED7SS

EID Login

Use "eId" as the username, and the actual Entitlement ID as the password.

NOTE   The username "eId" is case-sensitive.

Format:

eId:[entitlement_Id]

eId:3221AS-85343A

Service Account

Use the user ID and its respective password.

Format:

[service_account_user_Id]:[service_account_password]

testuser:testpassword123