Red Hat Training

A Red Hat training course is available for Red Hat Satellite

Chapter 6. Namespace: auth

This namespace provides methods to authenticate with the system's management server.
Namespace: auth

6.1. Method: login

Description

Log in with a username and password. Returns the session key most other API methods use.

Parameters

The following parameters are available for this method:

  • string username
  • string password
  • int duration - length of session (optional)
Returns

The following return values are available for this method:

  • string sessionKey