AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Initialize-AWSSSOConfiguration-SessionName <String>-AccountId <String>-RoleName <String>-StartUrl <String>-SSORegion <String>-RegistrationScopes <String[]>
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Initialize-AWSSSOConfigurationInteractively prompts for the configuration values required to create a profile.
$params = @{
ProfileName = 'sso-test-profile'
AccountId = '012345678901'
RoleName = 'ReadOnlyAccess'
SessionName = 'sso-session-d-xxxxxxxxxx'
StartUrl = 'https://d-xxxxxxxxxx.awsapps.com/start'
SSORegion = 'us-east-1'
};
Initialize-AWSSSOConfiguration @paramsCreates a profile 'sso-test-profile' with the configuration values and then initiates SSO login flow.
AWS Tools for PowerShell: 2.x.y.z