AWS code-library documentation change
Summary
Added PowerShell V5 example for GetIdentityPoolRoles
Security assessment
Role retrieval example without discussing least privilege or role security practices
Diff
diff --git a/code-library/latest/ug/cognito-identity_example_cognito-identity_GetIdentityPoolRoles_section.md b/code-library/latest/ug/cognito-identity_example_cognito-identity_GetIdentityPoolRoles_section.md index 6b85b99a2..1925b2c7d 100644 --- a//code-library/latest/ug/cognito-identity_example_cognito-identity_GetIdentityPoolRoles_section.md +++ b//code-library/latest/ug/cognito-identity_example_cognito-identity_GetIdentityPoolRoles_section.md @@ -69,0 +70,24 @@ PowerShell +**Tools for PowerShell V5** + + +**Example 1: Gets the information about roles for a specific Identity Pool.** + + + Get-CGIIdentityPoolRole -IdentityPoolId us-east-1:0de2af35-2988-4d0b-b22d-EXAMPLEGUID1 + + +**Output:** + + + LoggedAt : 8/12/2015 4:33:51 PM + IdentityPoolId : us-east-1:0de2af35-2988-4d0b-b22d-EXAMPLEGUID1 + Roles : {[unauthenticated, arn:aws:iam::123456789012:role/CommonTests1Role]} + ResponseMetadata : Amazon.Runtime.ResponseMetadata + ContentLength : 165 + HttpStatusCode : OK + + * For API details, see [GetIdentityPoolRoles](https://docs.aws.amazon.com/powershell/v5/reference) in _AWS Tools for PowerShell Cmdlet Reference (V5)_. + + + +