AWS code-library documentation change
Summary
Added PowerShell V5 example for configuring unauthenticated IAM roles in Identity Pools
Security assessment
Demonstrates role assignment which relates to access control, but does not address a specific vulnerability or security incident.
Diff
diff --git a/code-library/latest/ug/cognito-identity_example_cognito-identity_SetIdentityPoolRoles_section.md b/code-library/latest/ug/cognito-identity_example_cognito-identity_SetIdentityPoolRoles_section.md index f53d43db6..3a5898bbe 100644 --- a//code-library/latest/ug/cognito-identity_example_cognito-identity_SetIdentityPoolRoles_section.md +++ b//code-library/latest/ug/cognito-identity_example_cognito-identity_SetIdentityPoolRoles_section.md @@ -48,0 +49,14 @@ PowerShell +**Tools for PowerShell V5** + + +**Example 1: Configures the specific Identity Pool to have an unauthenticated IAM role.** + + + Set-CGIIdentityPoolRole -IdentityPoolId us-east-1:0de2af35-2988-4d0b-b22d-EXAMPLEGUID1 -Role @{ "unauthenticated" = "arn:aws:iam::123456789012:role/CommonTests1Role" } + + + * For API details, see [SetIdentityPoolRoles](https://docs.aws.amazon.com/powershell/v5/reference) in _AWS Tools for PowerShell Cmdlet Reference (V5)_. + + + +