Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Authentication

PAM Authentication (Linux)

The Memory Appliance supports PAM (Pluggable Authentication Modules) for Redfish API authentication on Linux systems.

Configuration

{
  "features": {
    "disable_auth": false
  },
  "auth": {
    "pam_service": "smartforge"
  }
}

PAM Configuration File

Create /etc/pam.d/smartforge:

auth    required    pam_unix.so
account required    pam_unix.so

Using Authentication

# Create session
curl -X POST http://localhost:8080/redfish/v1/SessionService/Sessions \
  -H "Content-Type: application/json" \
  -d '{"UserName": "admin", "Password": "password"}'

# Use session token
curl http://localhost:8080/redfish/v1/Systems \
  -H "X-Auth-Token: your-session-token"

gRPC Authentication

For gRPC, authentication is typically handled at the TLS layer using client certificates or custom metadata.

See PAM_AUTHENTICATION.md for complete authentication documentation.