IBM.IAM.AWS.SecurityToken.dll-Help.xml
<?xml version="1.0" encoding="utf-8"?>
<helpItems schema="maml" xmlns="http://msh"> <!-- Cmdlet: Set-AwsIbmSamlCredentials --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Set-AwsIbmSamlCredentials</command:name> <command:verb>Set</command:verb> <command:noun>AwsIbmSamlCredentials</command:noun> <maml:description> <maml:para>Authenticates a user against IBM IAM server to utilize roles granted in AWS via AWS PowerShell cmdlets.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Authenticates a user against IBM IAM server to utilize roles granted in AWS via AWS PowerShell cmdlets.</maml:para> </maml:description> <command:syntax> <!-- Parameter set: StoreOneRole --> <command:syntaxItem> <maml:name>Set-AwsIbmSamlCredentials</maml:name> <!-- Parameter: EndpointName --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="named"> <maml:name>EndpointName</maml:name> <maml:description> <maml:para>The name of the endpoint you gave when calling Set-AWSSamlEndpoint with your URL to the IBM IAM server.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: StoreAs --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>StoreAs</maml:name> <maml:description> <maml:para>Store a successful login into this profile name. Then use it with -ProfileName with AWS cmdlets.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: AwsAccountId --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>AwsAccountId</maml:name> <maml:description> <maml:para>AWS account id to filter out roles only in a specific account.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Credential --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Credential</maml:name> <maml:description> <maml:para>The credentials you want to use to auto-login to the IBM IAM server.</maml:para> </maml:description> <command:parameterValue required="true">PSCredential</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.PSCredential</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: HelpFindResource --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>HelpFindResource</maml:name> <maml:description> <maml:para>Search for a specific keyword in a role to mark it as the default choice.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: PrincipalARN --> <command:parameter required="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>PrincipalARN</maml:name> <maml:description> <maml:para>The AWS principal ARN for the role you want to assume.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ProfileLocation --> <command:parameter required="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>ProfileLocation</maml:name> <maml:description> <maml:para>Physical location to store authenticated profile.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: RoleARN --> <command:parameter required="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>RoleARN</maml:name> <maml:description> <maml:para>The AWS role ARN for the role you want to assume.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SingleMatch --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>SingleMatch</maml:name> <maml:description> <maml:para>If only one role matches the value in HelpFindResource, then select that single role and don't ask the user which to use.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: STSEndpointRegion --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>STSEndpointRegion</maml:name> <maml:description> <maml:para>Region to use when calling SecurityTokenService's AssumeRoleWithSAML.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>us-east-2</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: EndpointName --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="named"> <maml:name>EndpointName</maml:name> <maml:description> <maml:para>The name of the endpoint you gave when calling Set-AWSSamlEndpoint with your URL to the IBM IAM server.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: PrincipalARN --> <command:parameter required="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>PrincipalARN</maml:name> <maml:description> <maml:para>The AWS principal ARN for the role you want to assume.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: RoleARN --> <command:parameter required="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>RoleARN</maml:name> <maml:description> <maml:para>The AWS role ARN for the role you want to assume.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Credential --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Credential</maml:name> <maml:description> <maml:para>The credentials you want to use to auto-login to the IBM IAM server.</maml:para> </maml:description> <command:parameterValue required="true">PSCredential</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.PSCredential</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: StoreAs --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>StoreAs</maml:name> <maml:description> <maml:para>Store a successful login into this profile name. Then use it with -ProfileName with AWS cmdlets.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: AwsAccountId --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>AwsAccountId</maml:name> <maml:description> <maml:para>AWS account id to filter out roles only in a specific account.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: HelpFindResource --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>HelpFindResource</maml:name> <maml:description> <maml:para>Search for a specific keyword in a role to mark it as the default choice.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ProfileLocation --> <command:parameter required="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>ProfileLocation</maml:name> <maml:description> <maml:para>Physical location to store authenticated profile.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SingleMatch --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>SingleMatch</maml:name> <maml:description> <maml:para>If only one role matches the value in HelpFindResource, then select that single role and don't ask the user which to use.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: STSEndpointRegion --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>STSEndpointRegion</maml:name> <maml:description> <maml:para>Region to use when calling SecurityTokenService's AssumeRoleWithSAML.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>us-east-2</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>The name of the endpoint you gave when calling Set-AWSSamlEndpoint with your URL to the IBM IAM server.</maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>The AWS principal ARN for the role you want to assume.</maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>The AWS role ARN for the role you want to assume.</maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Physical location to store authenticated profile.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <!-- OutputType: StoredInfo --> <command:returnValue> <dev:type> <maml:name>IBM.IAM.AWS.SecurityToken.SAML.StoredInfo</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Results of the authentication attempt.</maml:para> </maml:description> </command:returnValue> </command:returnValues> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <dev:code>$endpoint = 'https://sso.mycompany.com/saml20/logininitial' Set-AWSSamlEndpoint -Endpoint $endpoint -StoreAs 'IBMEP' Set-AwsIbmSamlCredentials -EndpointName 'IBMEP'</dev:code> </command:example> <command:example> <maml:title>---------- EXAMPLE 2 ----------</maml:title> <dev:code>$endpoint = 'https://sso.mycompany.com/saml20/logininitial' Set-AWSSamlEndpoint -Endpoint $endpoint -StoreAs 'IBMEP' Set-AwsIbmSamlCredentials -EndpointName 'IBMEP' -Credential (Get-Credential -UserName 'MyUsername' -Message 'IBM IAM SAML Server')</dev:code> </command:example> </command:examples> </command:command> </helpItems> |