Authenticate a user against a IBM Identity and Access Management server and select role from SAML response.
All releases can be pulled from PowerShell Gallery using PowerShellGet.
> Install-Module -Name IBM.IAM.AWS.SecurityToken
- AWS.Tools.SecurityToken
> $endpoint = "https://myiamserver.example.com/fim/sps/saml20/saml20/logininitial?RequestBinding=HTTPPost&PartnerId=urn:amazon:webservices&NameIdFormat=Email&AllowCreate=false"
> Set-AwsIbmSamlCredentials -IbmIamEndpoint $endpoint -StoreAs RoleAuth
> Get-EC2Region -ProfileName RoleAuth
> Get-EC2Instance -ProfileName RoleAuth