Syntax
New-VISamlSecurityContext [-VCenterServer] <String> [-IgnoreSslValidationErrors] -OAuthSecurityContext <OAuth2SecurityContext> [-Port <Int32>] [<CommonParameters>]Related Commands
Online VersionDetailed Description
Creates an SAML2 security context object that can be used to authenticate a user with any VMware vCenter Server services.Parameters
Return Type
VMware.VimAutomation.ViCore.Types.V1.VISamlSecurityContextNotes
Examples
-------------------------- Example 1 --------------------------
$oauthCtx = New-VcsOAuthSecurityContext -ApiToken "a3f35067-80b5-44f0-a0bc-e19f2bc17fb7" $samlCtx = New-VISamlSecurityContext -VCenterServer "Server" -OAuthSecurityContext $oauthCtx
Creates an SAML2 security context object by authenticating the user with an OAuth2 security context from the VMware Cloud Services authentication server. This SAML2 security context can be used to authenticate the user to any vCenter Server services running in the VMware Cloud on AWS.