Skip to content

Commit

Permalink
resource/aws_cognito_user_pool_client: Mark client secret as sensitive (
Browse files Browse the repository at this point in the history
#13680)

Prevent the sensitive client_secret attribute being leaked in logs.
  • Loading branch information
garretruh authored Jun 12, 2020
1 parent 42c6f65 commit d9df6d1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions aws/resource_aws_cognito_user_pool_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,9 @@ func resourceAwsCognitoUserPoolClient() *schema.Resource {
},

"client_secret": {
Type: schema.TypeString,
Computed: true,
Type: schema.TypeString,
Computed: true,
Sensitive: true,
},

"generate_secret": {
Expand Down

0 comments on commit d9df6d1

Please sign in to comment.