Skip to content

Commit

Permalink
Change credentials to sensitive (#3462) (#6272)
Browse files Browse the repository at this point in the history
Signed-off-by: Modular Magician <[email protected]>
  • Loading branch information
modular-magician authored May 1, 2020
1 parent 9ca3681 commit 89d81ac
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .changelog/3462.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
storage: Marked the credentials field in `google_storage_object_signed_url` as sensitive so it doesn't expose private credentials.
```
5 changes: 3 additions & 2 deletions google/data_source_storage_object_signed_url.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,9 @@ func dataSourceGoogleSignedUrl() *schema.Resource {
Default: "",
},
"credentials": {
Type: schema.TypeString,
Optional: true,
Type: schema.TypeString,
Sensitive: true,
Optional: true,
},
"duration": {
Type: schema.TypeString,
Expand Down

0 comments on commit 89d81ac

Please sign in to comment.