Skip to content

Commit

Permalink
mask data_json as sensitive in vault_generic_secret.
Browse files Browse the repository at this point in the history
This MR fixes hashicorp#144 and masks `data_json` as sensitive.
  • Loading branch information
Vad1mo committed Jun 27, 2018
1 parent 93a146b commit 7ad174e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vault/resource_generic_secret.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ func genericSecretResource() *schema.Resource {
// when disable_read is false for comparing values.
StateFunc: NormalizeDataJSON,
ValidateFunc: ValidateDataJSON,
Sensitive: true,
},

"allow_read": &schema.Schema{
Expand Down

0 comments on commit 7ad174e

Please sign in to comment.