Documentation Index
Fetch the complete documentation index at: https://mintlify.com/HewlettPackard/POSH-HPEOneView/llms.txt
Use this file to discover all available pages before exploring further.
Synopsis
Retrieves an iLO Single Sign-On URL or Redfish session token for a server managed by HPE OneView.Syntax
SSO browser URL (default)Description
Get-OVIloSso requests a Single Sign-On token from the HPE OneView appliance for the target server’s iLO. The appliance uses the server’s iLO trust relationship to issue a time-limited SSO token on behalf of the logged-in HPE OneView user.
Two modes are supported:
- Default: Returns the iLO web UI SSO URL. Open this URL in a browser to access the iLO interface without re-authenticating.
- IloRestSession: Returns a Redfish session token object (
X-Auth-Token) that can be used to make authenticated calls directly against the iLO Redfish API.
InputObject parameter accepts either a server hardware object or a server profile object. When a server profile is provided, the SSO token is generated for the underlying server hardware.
SSO tokens are short-lived. The browser URL must be opened promptly after generation, and Redfish session tokens expire after a period of inactivity. If the token expires, run
Get-OVIloSso again to obtain a new one.The
-SkipCertificateCheck parameter is obsolete and has no effect. Certificate validation is controlled by the iLO trust configuration on the appliance.Parameters
The server hardware or server profile object for which to generate the iLO SSO token. Accepts pipeline input. The
Server alias is also accepted.Generate an SSO URL that opens directly to the iLO Remote Console (HTML5 KVM) rather than the iLO web UI home page.
Return a Redfish session token object instead of a browser URL. The returned object contains the
X-Auth-Token header value and the iLO Redfish base URI.The appliance connection object or name. Defaults to the default connected session. Accepted from the pipeline by property name.
Examples
Open the iLO web UI via SSO
Encl1, bay 1 and opens it in the default browser.
Open the iLO remote console directly
Get a Redfish REST API session token
SSO from a server profile object
Get-OVIloSso. The cmdlet resolves the underlying server hardware and returns the SSO URL.
Output
Default / RemoteConsoleOnly:HPEOneView.Library.IloSsoUrl
Contains an IloSsoUrl string property with the complete SSO URL including the embedded token.
IloRestSession: HPEOneView.Library.IloRestSession
Contains SecurityToken, RootUri, and session metadata for use with Redfish API calls.