API Guide
Table 1. Redsh authentication and authorization
Redsh actions Authentication required Authorization required
Read operation on any instrumentation data Yes Yes
Modify instrumentation data Yes Yes
Invoke actions Yes Yes
View service root No No
View metadata document No No
View OData service document No No
View message registry No No
View Redsh version URI No No
View JSONSchemaFile resource URI No No
View JSON schemas URI No No
The Redsh service provides access to Redsh URLs by using the following methods:
• Basic authentication: In this method, user name and password are provided for each Redsh API request.
• Session-based authentication: This method is used while issuing multiple Redsh operation requests.
• Session login is initiated by accessing the Create session URI. The response for this request includes an X-Auth-Token header with a
session token. Authentication for subsequent requests is made using the X-Auth-Token header.
• Session logout is performed by issuing a DELETE of the Session resource provided by the Login operation including the X-Auth-
Token header.
NOTE
: The iDRAC rmware incorporates the concept of application sessions for various existing interfaces such as the web
interface, WSMan, and RACADM. With the introduction of Redsh-specic sessions, Redsh inherits the characteristics of web
server sessions and the property Session Timeout inherits the web server session timeout value.
NOTE: To ensure a secure connection, Dell recommends using TLS 1.1 or later.
iDRAC licensing
Redsh support is included in all license types of iDRAC. However, some of the iDRAC features require specic licenses. If a required license
is not present, certain Redsh APIs may not be accessible and return an HTTP 403 status code. 403 implies that there is no sucient
privileges. In other cases, some of the properties in certain resource may not be returned in a response. The service may also return errors
when such properties are modied. For information of specic license requirements for the resources, see Redsh resources.
HTTP methods
The REST API allows you to specify the type of request. It adheres to the Create, Retrieve, Update, and Delete (CRUD) standard format.
The data is generated by accessing URIs that can be accessed by using the following HTTP methods:
• GET
• HEAD
• POST
• PUT
• PATCH
• DELETE
Redsh-based
systems management 9