AWS cognito documentation change
Summary
Added PowerShell V5 example for GetIdentityPoolRoles
Security assessment
Demonstrates role retrieval without discussing role security best practices. Does not add security guidance.
Diff
diff --git a/cognito/latest/developerguide/cognito-identity_example_cognito-identity_GetIdentityPoolRoles_section.md b/cognito/latest/developerguide/cognito-identity_example_cognito-identity_GetIdentityPoolRoles_section.md index 3019641f8..a4e4bc451 100644 --- a//cognito/latest/developerguide/cognito-identity_example_cognito-identity_GetIdentityPoolRoles_section.md +++ b//cognito/latest/developerguide/cognito-identity_example_cognito-identity_GetIdentityPoolRoles_section.md @@ -67,0 +68,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)_. + + + +