AWS code-library documentation change
Summary
Added PowerShell V5 example for CreateIdentityPool with unauthenticated access
Security assessment
Demonstrates creating identity pools without discussing security implications of unauthenticated access
Diff
diff --git a/code-library/latest/ug/cognito-identity_example_cognito-identity_CreateIdentityPool_section.md b/code-library/latest/ug/cognito-identity_example_cognito-identity_CreateIdentityPool_section.md index da79eee53..cf794a92e 100644 --- a//code-library/latest/ug/cognito-identity_example_cognito-identity_CreateIdentityPool_section.md +++ b//code-library/latest/ug/cognito-identity_example_cognito-identity_CreateIdentityPool_section.md @@ -153,0 +154,28 @@ PowerShell +**Tools for PowerShell V5** + + +**Example 1: Creates a new Identity Pool which allows unauthenticated identities.** + + + New-CGIIdentityPool -AllowUnauthenticatedIdentities $true -IdentityPoolName CommonTests13 + + +**Output:** + + + LoggedAt : 8/12/2015 4:56:07 PM + AllowUnauthenticatedIdentities : True + DeveloperProviderName : + IdentityPoolId : us-east-1:15d49393-ab16-431a-b26e-EXAMPLEGUID3 + IdentityPoolName : CommonTests13 + OpenIdConnectProviderARNs : {} + SupportedLoginProviders : {} + ResponseMetadata : Amazon.Runtime.ResponseMetadata + ContentLength : 136 + HttpStatusCode : OK + + * For API details, see [CreateIdentityPool](https://docs.aws.amazon.com/powershell/v5/reference) in _AWS Tools for PowerShell Cmdlet Reference (V5)_. + + + +