White Papers
9 Dell OpenManage Power Center REST API Reference Guide
2.4 Authentication Mechanism
OMPC uses Basic Authentication along with HTTPs to enable authentication of REST requests.
Each request requires an Authorization header in the request, in the format of base-64 encoded string of
the combination of following credentials:
username,
password,
accountType: Possible values for this field are:
o OMPC_ACCOUNT = 0;
o WIN_LOCAL_ACCOUNT = 1;
o WIN_DOMAIN_ACCOUNT = 2;
o LINUX_LOCAL_ACCOUNT = 3;
o LDAP_ACCOUNT = 4;
Domain: It is an optional field unless accountType field value is WIN_DOMAIN_ACCOUNT.
Example:
Name=admin, Password=user@123 and AccountType= OMPC_ACCOUNT, no domain specified.
The combination of username, password, and accountType is admin:user@123:0, and the base-64
encoded string for this combination is YWRtaW46dXNlckAxMjM6MA==
Note:
If the credentials are missing or invalid, a 401 (Authorization failure) error is displayed.
This mechanism is only supported when SSL/TLS is enabled for the transport.